Associate
- Joined
- 6 Dec 2007
- Posts
- 2,103
Hi yet again guys (you lot must be getting sick of me by now
), I'd like a spot of help if ya'll be so kind.
Basically, my program has two ways of closing, 1.) File > Exit and 2.) Click the X.
These both bring up different message boxes asking the user if they want to save etc. Trouble is, the File > Exit way obviously closes the form, and the click X thingy handles the MyBase.FormClosing event. This means that when I do File > Exit, I also get the message box from the X as well. Any ideas as to how I can remedy this?
Will post code if required. TIA

Basically, my program has two ways of closing, 1.) File > Exit and 2.) Click the X.
These both bring up different message boxes asking the user if they want to save etc. Trouble is, the File > Exit way obviously closes the form, and the click X thingy handles the MyBase.FormClosing event. This means that when I do File > Exit, I also get the message box from the X as well. Any ideas as to how I can remedy this?
Will post code if required. TIA
