Hi,
I used System.Windows. Forms.Applicati on.DoEvents() in a loop to handle user
click close button .
Private Sub btnclose_Click( ByVal sender As System.Object, ByVal e As
System.EventArg s) Handles btnclose.Click
Me.Close()
System.Windows. Forms.Applicati on.Exit
End Sub
However, the application continues to run when user click close, thought the
form did close.
Is there anything I miss out?
Thanks.
I used System.Windows. Forms.Applicati on.DoEvents() in a loop to handle user
click close button .
Private Sub btnclose_Click( ByVal sender As System.Object, ByVal e As
System.EventArg s) Handles btnclose.Click
Me.Close()
System.Windows. Forms.Applicati on.Exit
End Sub
However, the application continues to run when user click close, thought the
form did close.
Is there anything I miss out?
Thanks.
Comment