Home > Software engineering >  Vb.net is placed in form1 form three buttons, the three buttons respectively corresponding to the th
Vb.net is placed in form1 form three buttons, the three buttons respectively corresponding to the th

Time:10-19

As the topic, how to program, the process of fabricating dim f1 as new form2
F1. The show () the press the button to enter a new form2
Dim f2 again as new form3 ()
F2. The show () will not be able to enter the form3, complains... Consult ace

CodePudding user response:

What...... I tried, didn't you say it,
 Public Class Form1 

Private Sub Button2_Click (ByVal sender As System. Object, ByVal e the As System. EventArgs) Handles Button2. Click
Dim f2 As New Form2
F2. The Show ()
End Sub
Private Sub Button3_Click (ByVal sender As System. Object, ByVal e the As System. EventArgs) Handles Button3. Click
Dim f3 As New Form3
F3. The Show ()
End Sub
The End of the Class
  • Related