标签:style blog color io os ar for div sp
namespace CloseOpen
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void button1_Click(object sender, EventArgs e)
{
System.Threading.Thread thread = new System.Threading.Thread(new System.Threading.ThreadStart(NewForm));
thread.Start();
while (thread.ThreadState != System.Threading.ThreadState.Running) ;
this.Close();
}
private void NewForm()
{
Application.Run(new Form2());
}
}
}
标签:style blog color io os ar for div sp
原文地址:http://www.cnblogs.com/guanguangreat/p/3991866.html