Dispose Message Box

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Limno
    New Member
    • Apr 2008
    • 92

    Dispose Message Box

    how to dispose all window form warning msg box when user click on the Close Box.??
    In Windows application C#.net
  • tlhintoq
    Recognized Expert Specialist
    • Mar 2008
    • 3532

    #2
    You could handle the "Form.Closi ng" event.
    Put up a MessageBox with MessageBoxButto ns set to YesNo.
    Handle the DialogResult of that MessageBox.

    Comment

    Working...