私は実行するこのコードを持っています.exe
string openEXE = @"C:\Users\marek\Documents\Visual Studio 2012\Projects\tours\tours\bin\Debug\netpokl.exe";
Process b = Process.Start(openEXE);
b.EnableRaisingEvents = true;
b.Exited += (netpokl_Closed);
そして、閉じるときにメソッド netpokl_Closed を呼び出します。問題は、I insert into netpokl_Closed command
-this.Close()
この例外が発生したときです。Cross-thread operation not valid: Control accessed from a thread other than the thread it was created on
どうすれば修正できますか?お時間とご回答ありがとうございます。