Is it possible to inherit from a form and in that new derived form close ALL forms?
So in the derived class you would have something like:
this.Close(); and base.Close(); just close the new instance of the form.Code:protected sealed override void Exit(object sender, EventArgs e)
{
// exit all forms here.
}