How do I "Fire and forget" a WinForms Form?
- by Neil Barnwell
What's a good technique to create a WinForms Form instance, display it (non-modally) but not have to keep a reference around to it? Normally, as soon as the variable goes out of scope, the form is closed:
var form = new SuperDuperForm();
form.Show();
// Form has probably been closed instantly
I don't want to have to keep track of instances of…