capture runtime arguements, just testing at the moment (see shortcut in debug folder)
This commit is contained in:
parent
5ce67686ec
commit
d43dc445a6
1 changed files with 2 additions and 1 deletions
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue