Add a call to Application.DoEvents() before launching the example. This should ensure that the launcher window disappears before the example is launched and should also take care of any keyboard/mouse handling issues.
This commit is contained in:
parent
e4b5e23701
commit
d45f6f7d6d
1 changed files with 1 additions and 0 deletions
|
@ -153,6 +153,7 @@ namespace Examples
|
|||
|
||||
Debug.Print("Launching example: {0}", example.ToString());
|
||||
this.Visible = false;
|
||||
Application.DoEvents();
|
||||
|
||||
example.GetMethod("Main").Invoke(null, null);
|
||||
|
||||
|
|
Loading…
Reference in a new issue