зеркало из https://github.com/mono/ikvm-fork.git
*** empty log message ***
This commit is contained in:
Родитель
b8229f78cc
Коммит
0a991fe020
|
@ -71,6 +71,12 @@ namespace ikvm.awt
|
|||
// HACK I have no idea why this line is necessary...
|
||||
IntPtr p = form.Handle;
|
||||
bogusForm = form;
|
||||
// HACK to make sure we can be aborted (Thread.Abort) we need to periodically
|
||||
// fire an event (because otherwise we'll be blocking in unmanaged code and
|
||||
// the Abort cannot be handled there).
|
||||
System.Windows.Forms.Timer t = new System.Windows.Forms.Timer();
|
||||
t.Interval = 100;
|
||||
t.Start();
|
||||
Application.Run();
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче