Get LaunchSLClient window out of the way when launching SL.

0.6.0-stable
Jeff Ames 2008-05-01 19:20:53 +00:00
parent 6729d488a5
commit a5a16f6f49
1 changed files with 5 additions and 0 deletions

View File

@ -228,6 +228,9 @@ namespace LaunchSLClient
}
}
comboBox1.DroppedDown = false;
Hide();
System.Diagnostics.Process proc = new System.Diagnostics.Process();
proc.StartInfo.FileName = runLine;
proc.StartInfo.Arguments = exeFlags + " " + runUrl;
@ -236,6 +239,8 @@ namespace LaunchSLClient
proc.StartInfo.WorkingDirectory = exePath;
proc.Start();
proc.WaitForExit();
Application.Exit();
}
}
}