求c#多线程开启窗口的方法
MediaPlayer mp = new MediaPlayer();
mp.axWindowsMediaPlayer1.URL = ((MediaLayer)(lec.Layer)).mediaURL;
Thread thread = new Thread(new ThreadStart(Application.Run(mp)));
thread.IsBackground = true;//这样能随主程序一起结束
thread.Start()
这样不行,Thread(new ThreadStart(Application.Run(mp)));这里说是要方法名称,可是方法名称就没有参数了啊
------解决方案--------------------别的窗口用show方法,不是application.run