예제 #1
0
 public static void EndProcess(String DontsaveProjectPath = "notused")
 {
     //TODO: Want to make this configurable - for now it's hard coded
     Process[] processes = Process.GetProcessesByName(Config.Settings.purpleSettings.ProcessName);
     foreach (Process process in processes)
     {
         process.CloseMainWindow();
         PurpleButton dontsave = new PurpleButton("Save Dialog: No", "/LifeQuest™ Pipeline/Save Project?/Save Project?/No");
         dontsave.Invoke();
     }
 }
예제 #2
0
 public static void EndProcess(String DontsaveProjectPath = "notused")
 {
     //TODO: Want to make this configurable - for now it's hard coded
     Process[] processes = Process.GetProcessesByName(Config.Settings.purpleSettings.ProcessName);
     foreach (Process process in processes)
     {
         process.CloseMainWindow();
         PurpleButton dontsave = new PurpleButton("Save Dialog: No", "/LifeQuest™ Pipeline/Save Project?/Save Project?/No");
         dontsave.Invoke();
     }
 }