Better way to kill a Form after the FormClosing event is overridden to hide rather than close?
- by Paul Sasik
I have a simple Windows Form that hosts property controls at runtime. To keep the window and its contents alive rather than killing it by handling the FormClosing event, cancel the event and simply hide the form.
That's fine but at close of the application I need to actually close the window. I implemented the below but it feels kludgey. Is there…