111,097
社区成员




if (FormA!= null)
{
int height = FormA.Height;
Point p = FormA.Location;
FormA.Close();
FormA= new FormA();
FormA.Height = height;
FormA.Location = p;
FormA.Show();
}
Thread th = new Thread(() => { Application.Run(new FormA()); });
th.Start();
//或者
Thread th2 = new Thread(() => { new FormA().ShowDialog(); });
th2.Start();