切换窗口使用这个语句,新打开的窗口就是另外一个线程,互不影响;
new Thread((ThreadStart)delegate{Application.Run(new Form1());}).Start();