added validation to see if args is empty
This commit is contained in:
parent
9db8544a67
commit
38d84788ce
1 changed files with 5 additions and 2 deletions
|
@ -16,8 +16,11 @@ namespace Saviour_Backup_System
|
||||||
|
|
||||||
public mainWindow() {
|
public mainWindow() {
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
|
try
|
||||||
|
{
|
||||||
if (setup.runtimeArguements[0] == "STARTUP") { this.removeDisplay(); }
|
if (setup.runtimeArguements[0] == "STARTUP") { this.removeDisplay(); }
|
||||||
else { this.showDisplay(); }
|
else { this.showDisplay(); }
|
||||||
|
} catch { }
|
||||||
}
|
}
|
||||||
|
|
||||||
internal void removeDisplay() {
|
internal void removeDisplay() {
|
||||||
|
|
Reference in a new issue