hello, i have a problem in vb.net windows application,
verson is 2005 and framework is 2.0
I want to close a form by using the close button which is right hand top side of the window. i want, when i click the close button a dialog box appear and ask me "Are you sure you want to Quit?" and there is 2 button (Yes and No).... if i click "Yes" button then the form is closed and if i click the "No" button then dialog box should be close.....
Actually i have done little bit.... after clicking the close button, dialog box is appear.... after that when i click "Yes" butoon, the form is closed also same with the "No" button.....
Please help me......
Thank You....