I am developing windows Forms application, for this i am using SmartClient. Here i click workspace close('X') event at the time i want to display messageBox based on user input (OK/Cancel) i have to decide pane has to be close or not.
A:
Use the ParentForm.FormClosing
event, and set the Cancel
property appropriately.
Subscribe to this event in the Load
event.
leppie
2010-03-23 09:33:37
How to stop form close after click close button.
Ravi
2010-03-23 09:57:32
@Ravi: I told you how. I dont have time to spoonfeed, sorry.
leppie
2010-03-23 10:04:17