Confirmation before closing

Posted by saeed on Stack Overflow See other posts from Stack Overflow or by saeed
Published on 2010-06-08T08:47:49Z Indexed on 2010/06/08 8:52 UTC
Read the original article Hit count: 196

Filed under:
|
|
|

Hi I am using c# .net windows form application. I have a combo box and a text box and a close window button. Now If I make any change in the combo box or textbox and click on the close window button, it should prompt the user to save the modifications.. If no modification are made ( The user will just run the application, doesnt make any modification) then it should not prompt the user. It should close directly.. How can I do this?

© Stack Overflow or respective owner

Related posts about c#

Related posts about .NET