I'm doing a Form.Show Modal to force code execution until the user closes the shown form.
This form gets shown over again, so I'm thinking I'll just HIDE it. This seems to work OK, but wanted to confirm.
So:
You can either close or hide the modal form to allow the calling code to continue executing. At some point before your application closes you should make sure you unload any hidden forms though. I've had issues in my application with the application not always shutting down correctly when forms are still loaded and hidden. Might just depend on what resources your hidden forms are using.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With