I am working on vb.net.I am new to this..In my application i created four forms.Those are First.vb,f1.vb, f2.vb,f3.vb
In First.vb I created 3 checkboxes and one button "Display".T he checkboxes are used to display the forms.First of all I ll check the checkboxes(depe nding upon my requirement) in the first form then i ll click on the button "Display". .If the status of the first checkbox is true then It display the f1.vb..Similarl y for othercheckboxes also. I want to show all forms from the first.vb only.
I wrote this code.
Public Class first
Private Sub bdisplay_Click( ByVal sender As System.Object, ByVal e As System.EventArg s) Handles bdisplay.Click
Me.Visible = False
If (f1dchk.Checked = True) Then
f1.ShowDialog()
End If
If (f2dchk.Checked = True) Then
f2.ShowDialog()
End If
If (f3dchk.Checked = True) Then
f3.ShowDialog()
End If
End Sub
End Class
In f1.vb,f2.vb and f3.vb I created a button called "Back" in each form.Now I would like to navigate to the previous form.How to do this?
In First.vb I created 3 checkboxes and one button "Display".T he checkboxes are used to display the forms.First of all I ll check the checkboxes(depe nding upon my requirement) in the first form then i ll click on the button "Display". .If the status of the first checkbox is true then It display the f1.vb..Similarl y for othercheckboxes also. I want to show all forms from the first.vb only.
I wrote this code.
Public Class first
Private Sub bdisplay_Click( ByVal sender As System.Object, ByVal e As System.EventArg s) Handles bdisplay.Click
Me.Visible = False
If (f1dchk.Checked = True) Then
f1.ShowDialog()
End If
If (f2dchk.Checked = True) Then
f2.ShowDialog()
End If
If (f3dchk.Checked = True) Then
f3.ShowDialog()
End If
End Sub
End Class
In f1.vb,f2.vb and f3.vb I created a button called "Back" in each form.Now I would like to navigate to the previous form.How to do this?
Comment