C# Programming
03-02-2010, 01:41 PM
hi all,
I have made simple windows based application to illustrate the event fire when we click on the stop debugging button in VS 2008.
Actually, When i click on the "close" button of the form in the running application . It invokes the method as mentioned in the "form_load" event
e.g.
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Label1.Text = "Hello"
AddHandler System.Windows.Forms.Application.ApplicationExit, AddressOf abcMethod
End Sub
Private Sub abcMethod()
End Sub
but when i directly click on the "stop" debugging in the menu option in VS 2008,it doesn't go to the breakpoint inserted at the form_load event. I want to know which event fires at click of the stop debugging button in the menu option in vs 2008.
Thank you
I have made simple windows based application to illustrate the event fire when we click on the stop debugging button in VS 2008.
Actually, When i click on the "close" button of the form in the running application . It invokes the method as mentioned in the "form_load" event
e.g.
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Label1.Text = "Hello"
AddHandler System.Windows.Forms.Application.ApplicationExit, AddressOf abcMethod
End Sub
Private Sub abcMethod()
End Sub
but when i directly click on the "stop" debugging in the menu option in VS 2008,it doesn't go to the breakpoint inserted at the form_load event. I want to know which event fires at click of the stop debugging button in the menu option in vs 2008.
Thank you