private void SubmitClick(object sender, RoutedEventArgs e) { // launch s2 //LaunchS2.OpenApplication(); //World.Main(); SecondStudioCommand.ExportModel(); string username = Environment.UserName; string path = String.Format(@"C:\Users\{0}\AppData\Roaming\SecondStudio\Second Studio.exe", username); Process.Start(path); this.Hide(); }
private void SpawnClick(object sender, RoutedEventArgs e) { // SpawnClick initiated here SecondStudioCommand.GetSpawn(); }
private void OriginClick(object sender, RoutedEventArgs e) { // OriginClick initiated here SecondStudioCommand.GetOrigin(); }