public FormSettings() { InitializeComponent(); Icon = Properties.Resources.preferencesIcon; if (!Utilities.SystemInformation.IsRunningOnMono()) { startUpUtilities = new StartupUtilities(StartupUtilities.StartupUserScope.CurrentUser); checkAutoStart.Checked = startUpUtilities.CheckIfRunAtWinBoot(AppKeyName); } else { checkAutoStart.Visible = false; } }
public FormSettings() { InitializeComponent(); Icon = Resources.preferencesIcon; if (!SystemInformation.IsRunningOnMono()) { startUpUtilities = new StartupUtilities(StartupUtilities.StartupUserScope.CurrentUser); checkAutoStart.Checked = startUpUtilities.CheckIfRunAtWinBoot(APP_KEY_NAME); } else { checkAutoStart.Visible = false; } }