Community

Handling that Pesky Windows ControlBox

(Paul Kimmel) The Red X, ControlBox, or whatever you call it, can be pesky. The ControlBox closes a window in a WinForms application. That’s what it’s for. If that form is the last open form or the main form, your application closes. If you handle the FormClosing event, you can Cancel the close oper

Read More - Register for Free Membership