How can I trigger my "save" event when a user clicks the 'X' on the control box? I have code written for saving all of the information, but I don't know how to modify the control box features other than declaring it true or false.
Gus_19
0
Junior Poster in Training
Recommended Answers
Jump to PostI'm guessing that you are looking for Form.FormClosing event. Read about it here: http://msdn.microsoft.com/en-us/library/system.windows.forms.form.formclosing.aspx
All 3 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.