Update some comments

This commit is contained in:
Tim Young 2017-07-29 06:55:18 -05:00
parent 4b98c5298a
commit 338a28d9fa

View File

@ -1652,7 +1652,7 @@ namespace EduNetworkBuilder
Width = OurSettings.MainWindowWidth; Width = OurSettings.MainWindowWidth;
} }
//If we started by clicking on a file, load that file //If we started by clicking on a using a one_click installer, load that file
if (AppDomain.CurrentDomain.SetupInformation.ActivationArguments != null && if (AppDomain.CurrentDomain.SetupInformation.ActivationArguments != null &&
AppDomain.CurrentDomain.SetupInformation.ActivationArguments.ActivationData != null && AppDomain.CurrentDomain.SetupInformation.ActivationArguments.ActivationData != null &&
AppDomain.CurrentDomain.SetupInformation.ActivationArguments.ActivationData.Any()) AppDomain.CurrentDomain.SetupInformation.ActivationArguments.ActivationData.Any())
@ -1671,7 +1671,7 @@ namespace EduNetworkBuilder
UpdateForm(); UpdateForm();
} }
} }
if (InitialFileLoad != "") if (InitialFileLoad != "") //This is set when we are installed by msi and we click a file
{ {
if (File.Exists(InitialFileLoad)) if (File.Exists(InitialFileLoad))
{ {