G
Guest
have a main form with menu control on it. I am opening various forms on
click of different menu items. Below is one the procedure I am using. I am
running my app in Debug mode.
Private Sub mnuSearch_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles mnuSearch.Click
Dim frm As New frmPlanMaintain
frm.ShowDialog(Me)
If frm.DialogResult = DialogResult.OK Then
'Do something...
End If
frm.Dispose()
End Sub
I have place break point on above procedure. Now when I access the menu
option with above associated procedure, without accessing any other menu
option, it goes into break mode. But, if I access any other menu option,
prior to the one associated with above procedure, it does not go into break
mode. I am really confused. What’s going wrong? Please help.
click of different menu items. Below is one the procedure I am using. I am
running my app in Debug mode.
Private Sub mnuSearch_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles mnuSearch.Click
Dim frm As New frmPlanMaintain
frm.ShowDialog(Me)
If frm.DialogResult = DialogResult.OK Then
'Do something...
End If
frm.Dispose()
End Sub
I have place break point on above procedure. Now when I access the menu
option with above associated procedure, without accessing any other menu
option, it goes into break mode. But, if I access any other menu option,
prior to the one associated with above procedure, it does not go into break
mode. I am really confused. What’s going wrong? Please help.