added in global definitions, and removed temp code that slowed down the program, used placeholder comment instead
This commit is contained in:
parent
93d37892db
commit
77422507d7
1 changed files with 9 additions and 2 deletions
|
@ -18,6 +18,8 @@ namespace Saviour_Backup_System
|
||||||
public static notificationIcon icon;
|
public static notificationIcon icon;
|
||||||
public static splashScreen SS;
|
public static splashScreen SS;
|
||||||
public static addBackupWizard ABW;
|
public static addBackupWizard ABW;
|
||||||
|
public static transferWindow TW;
|
||||||
|
public static List<transferWindow> transfersArray;
|
||||||
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)
|
||||||
|
@ -26,7 +28,10 @@ namespace Saviour_Backup_System
|
||||||
SS = new splashScreen();
|
SS = new splashScreen();
|
||||||
try { SS.display((args[0] == "STARTUP")); }
|
try { SS.display((args[0] == "STARTUP")); }
|
||||||
catch { SS.display(false); } //if it errors, run it as false
|
catch { SS.display(false); } //if it errors, run it as false
|
||||||
Thread.Sleep(2000); //add in other code here, just for placeholder!
|
|
||||||
|
//add in other code here, just for placeholder!
|
||||||
|
startupBackups();
|
||||||
|
|
||||||
SS.Close();
|
SS.Close();
|
||||||
SS.Dispose();
|
SS.Dispose();
|
||||||
icon = new notificationIcon();
|
icon = new notificationIcon();
|
||||||
|
@ -36,7 +41,9 @@ namespace Saviour_Backup_System
|
||||||
Application.Run(MW);
|
Application.Run(MW);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public static void startupBackups(){
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
public static void closeProgram() {
|
public static void closeProgram() {
|
||||||
string exitMessage = "Are you sure you want to close Saviour Backup System?\nAll copying backups and backup scanning will cease.";
|
string exitMessage = "Are you sure you want to close Saviour Backup System?\nAll copying backups and backup scanning will cease.";
|
||||||
|
|
Reference in a new issue