Electro-Team
Interesting Education
electroteam__@[Link]
ListBox & CheckedListBox
DialogBox
Display Toolbox
Add 2 Buttons & 1 ListBox
Display Properties Window
Select item property of ListBox
Add items of ListBox
Press ok to precede
Rename Form1 by changing Text property
Change Font property for all controls
Event
Button_Click
Changing [Link]
Double click Button1
Event
ListBox1_SelectedIndexChanged
Changing [Link]
Double click ListBox1
Add ListBox2
Change Text Property of Button1
Event
Button_Click
Copy Item from ListBox1 to ListBox2
Event
Button_Click
Moving Item from ListBox1 to ListBox2
Clear all Items
Event
Button_Click
Edit selected Item
Event
Button_Click
Error
[Link]([Link]) = [Link] [Link]
White Red Black yellow
[Link]
0 1 2 3
No selection made mean [Link] = -1 , this
value will produce an Error.
Copy selected Item to Textbox
Event
ListBox1_SelectedIndexChanged
Replace ListBox by CheckedListBox
Event
Button_Click
Get all items in message box
Code illustration
Dim X As New [Link] For I = 0 To 3 [Link]([Link](I)) [Link](" ") Next [Link]([Link]())
[Link] StringBuilder NameSpace Class
Append(item)
ToString
Append (String)
Method
Modify Last Code
Dim X As New [Link] For Each item In [Link] [Link](item) [Link](" ") items spaces
Next
[Link]([Link]())
[Link] StringBuilder Items Append(item) NameSpace Class Property Append (String)
ToString
Method
Code illustration
NameSpace Class Property Append (String) container for a set of identifiers (names) A set of instance information for a real content. Property Appends a copy of the specified string to this instance. convert the StringBuilder object to a String object before you can pass the string represented by the StringBuilder object to the user interface.
ToString (Method)