The Form object in Visual Basic 6.0 is replaced by the
Form1.Show Modal=True in VB 6.0 is replaced with the ShowDialog
Sub Show_Form_Modal()
Form1.ShowDialog() ' Modal
End Sub
Sub Show_Form_Modeless()
Form1.Show() ' Modeless
End Sub
Closing which was done by Unload(Me)
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Me.Close()
End Sub
No comments:
Post a Comment