1
Fork 0

added addbackup window for global access, and removed dispose (because it's not really needed

This commit is contained in:
Jake Howard 2014-11-15 13:46:33 +00:00
parent b5302faa2a
commit 777c337606

View file

@ -17,6 +17,7 @@ namespace Saviour_Backup_System
public static mainWindow MW; public static mainWindow MW;
public static notificationIcon icon; public static notificationIcon icon;
public static splashScreen SS; public static splashScreen SS;
public static addBackupWizard ABW;
public static string username = Environment.UserName; //snapshots the username public static string username = Environment.UserName; //snapshots the username
public static void initProgram(string[] args) public static void initProgram(string[] args)
@ -44,7 +45,6 @@ namespace Saviour_Backup_System
if (result == System.Windows.Forms.DialogResult.Yes) { if (result == System.Windows.Forms.DialogResult.Yes) {
icon.notifyIcon.Dispose(); icon.notifyIcon.Dispose();
MW.removeDisplay(); MW.removeDisplay();
MW.Dispose();
Environment.Exit(0); Environment.Exit(0);
} }
} }