1
Fork 0

capture runtime arguements, just testing at the moment (see shortcut in debug folder)

This commit is contained in:
Jake Howard 2014-08-04 18:31:19 +01:00
parent 5ce67686ec
commit d43dc445a6

View file

@ -18,8 +18,9 @@ namespace Saviour_Backup_System
internal static ContextMenu contextMenu; internal static ContextMenu contextMenu;
static string databaseName = databaseTools.databaseName; static string databaseName = databaseTools.databaseName;
internal static void initProgram() internal static void initProgram(string[] args)
{ {
MessageBox.Show(args.Length.ToString());
//if (!File.Exists(databaseName)) { setupDatabase(); } // If the program has been run before, then the database will exist, so use that to test it. //if (!File.Exists(databaseName)) { setupDatabase(); } // If the program has been run before, then the database will exist, so use that to test it.
notificationIcon.init(); notificationIcon.init();
} }