1
Fork 0

added in global definitions, and removed temp code that slowed down the program, used placeholder comment instead

This commit is contained in:
Jake Howard 2014-11-20 14:40:30 +00:00
parent 93d37892db
commit 77422507d7
1 changed files with 9 additions and 2 deletions

View File

@ -18,6 +18,8 @@ namespace Saviour_Backup_System
public static notificationIcon icon;
public static splashScreen SS;
public static addBackupWizard ABW;
public static transferWindow TW;
public static List<transferWindow> transfersArray;
public static string username = Environment.UserName; //snapshots the username
public static void initProgram(string[] args)
@ -26,7 +28,10 @@ namespace Saviour_Backup_System
SS = new splashScreen();
try { SS.display((args[0] == "STARTUP")); }
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.Dispose();
icon = new notificationIcon();
@ -36,7 +41,9 @@ namespace Saviour_Backup_System
Application.Run(MW);
}
public static void startupBackups(){
return;
}
public static void closeProgram() {
string exitMessage = "Are you sure you want to close Saviour Backup System?\nAll copying backups and backup scanning will cease.";