T
Tilfried Weissenberger
Hi all,
Following Scenario:
I have a Windows.Forms.Form - a user clicks the inherited close-window
icon on the title-bar of that form to close it.
1) That already calls Form.Close() - doesn't it?
2) Where should I call Form.Dispose()?
3) Now if I want to add a "Save changes first?" question into the
Form_Closing() event, I noticed that some of the controls (TextBox for
example) no longer serve the entered value in the .Text attribute! So
I cannot save the changes from within this event!?!
thanks!
regards, Tilli
Following Scenario:
I have a Windows.Forms.Form - a user clicks the inherited close-window
icon on the title-bar of that form to close it.
1) That already calls Form.Close() - doesn't it?
2) Where should I call Form.Dispose()?
3) Now if I want to add a "Save changes first?" question into the
Form_Closing() event, I noticed that some of the controls (TextBox for
example) no longer serve the entered value in the .Text attribute! So
I cannot save the changes from within this event!?!
thanks!
regards, Tilli