Commit 8797cd83 authored by Rene Hampölz's avatar Rene Hampölz 💻

Bug fixes

parent ae41b88b
No preview for this file type
......@@ -149,12 +149,16 @@ namespace Main
{
ProcessStartInfo ps = new ProcessStartInfo(exe);
ps.WindowStyle = ProcessWindowStyle.Minimized;
Process p = Process.Start(ps);
p.WaitForInputIdle();
System.Threading.Thread.Sleep(1000);
appWin = p.MainWindowHandle;
SetParent(appWin, panel.Handle);
ps.WindowStyle = ProcessWindowStyle.Maximized;
}
host.Child = panel;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment