- 345 名前:デフォルトの名無しさん mailto:sage [2008/02/07(木) 22:04:02 ]
- >>318を下記のように修正
thread = new Thread(new ThreadStart(entry2)); void entry2(){ bool once = false; EventHandler apidle = delegate(object sender, EventArgs e){ if (once) return; else once = true; entry(); // 元のentry()をcall Application.ExitThread(); }; Application.Idle += apidle; Application.Run(); Application.Idle -= apidle; }
|

|