added addbackup window for global access, and removed dispose (because it's not really needed
This commit is contained in:
parent
b5302faa2a
commit
777c337606
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue