Ejemplo n.º 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();
     }
 }
Ejemplo n.º 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();
     }
 }