Visual Basic NET ( 3)


- 2


Dim As New Collection

 

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click

Dim As New Form2

.Show()

.Add()

End Sub

 

Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click

(3).BackColor = Color.Green

End Sub

 

Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click

Dim i As Integer

For i = 1 To .Count

(i).Text = " " & i

Next

End Sub

, , . , , , , (. . 27.4).

. 27.4

Form2. , , , Form2 , . :

Dim As Form2

For Each In

.TextBox1.BackColor = Color.Yellow

Next




- -  - -  - -