1
Fork 0

added validation to see if args is empty

This commit is contained in:
Jake Howard 2014-11-07 15:08:53 +00:00
parent 9db8544a67
commit 38d84788ce

View file

@ -16,8 +16,11 @@ namespace Saviour_Backup_System
public mainWindow() {
InitializeComponent();
if (setup.runtimeArguements[0] == "STARTUP") { this.removeDisplay(); }
else { this.showDisplay(); }
try
{
if (setup.runtimeArguements[0] == "STARTUP") { this.removeDisplay(); }
else { this.showDisplay(); }
} catch { }
}
internal void removeDisplay() {