N
nsreddi
I am trying to create a sample prototype on Menu's.I have 3 forms and
on the main form I created a Menu control with New, Adjust and Exit as
Menu controls in the Main Menu bar.
When I click on Menu New control I want to show New form.
I am writing the following code on menu add click.
Private Sub mnuNew_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles mnuNew.Click
Dim frmNew As New frmNew
frmNew.Show()
Me.Close()
End Sub
When I tap on New menu then I want open New Form, but the application
is exiting.
Can some one tell me where am I going wrong.
Thanks
NS
on the main form I created a Menu control with New, Adjust and Exit as
Menu controls in the Main Menu bar.
When I click on Menu New control I want to show New form.
I am writing the following code on menu add click.
Private Sub mnuNew_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles mnuNew.Click
Dim frmNew As New frmNew
frmNew.Show()
Me.Close()
End Sub
When I tap on New menu then I want open New Form, but the application
is exiting.
Can some one tell me where am I going wrong.
Thanks
NS