为什么要休眠呢?你try  catch  一下 看看 能catch到什么?

解决方案 »

  1.   

                   /*Thread th = new Thread(delegate()
                   {
                       Application.Run(new Form3());
                      
                   });
                   th.Start();使用多线程啊,没必要使用Application.Run(),
    这样不行吗?或者使用委托
    new Form3().Show(); 
      

  2.   


     private void ThreadFunc()
            {
                MethodInvoker mi = new MethodInvoker(this.ShowForm);
                this.BeginInvoke(mi);
            }
            private void ShowForm()
            {
                Form2 temp = new Form2();
                temp.Show();
            }        private void button2_Click(object sender, EventArgs e)
            {
                Thread th = new Thread(new ThreadStart(ThreadFunc));
                
                //  th.ApartmentState = ApartmentState.STA;
                th.Start();
            }找个解决方法啊,如上,