1、窗体加载的时候
Control.CheckForIllegalCrossThreadCalls = false;
2、多线程使用
Thread t = new Thread(new ThreadStart(delegate { load_file(openFileDialog.FileNames); })); t.Start();
1、窗体加载的时候
Control.CheckForIllegalCrossThreadCalls = false;
2、多线程使用
Thread t = new Thread(new ThreadStart(delegate { load_file(openFileDialog.FileNames); })); t.Start();
文章数
437
浏览数
98625
今日发布
0