110,535
社区成员
发帖
与我相关
我的任务
分享
private void Button1_Click(object sender, EventArgs e)
{
System.Threading.Thread thrT = new System.Threading.Thread(new System.Threading.ThreadStart(NewForm));
thrT.Start();
while (thrT.ThreadState != System.Threading.ThreadState.Running) ;
this.Close();
}
private void NewForm()
{
Application.Run(new Form2());
}