상속: IDisposable
예제 #1
0
    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;
      }
    }
예제 #2
0
        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;
            }
        }