通常我会做 Application.Run(myMainForm)。
但我想做这样的事情:
MyForm1 f = new MyForm1();
f.Close+=OnOpenOverviewWin();
Application.Run(f);
void OnOpenOverviewWin()
{
MyOverViewForm f = new MyOverViewForm ();
Application.Run(f); // i want to do this
Application.NewMainWindow = f; // or something like that
}