S
Shelby
Hi,
I used System.Windows.Forms.Application.DoEvents() in a loop to handle user
click close button .
Private Sub btnclose_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles btnclose.Click
Me.Close()
System.Windows.Forms.Application.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.Application.DoEvents() in a loop to handle user
click close button .
Private Sub btnclose_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles btnclose.Click
Me.Close()
System.Windows.Forms.Application.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.