コード例 #1
0
        public void StartBackgroundCheckForUpdates()
        {
            if (!_appInterface.GetCheckUpdateSettings())
            {
                return;
            }
            BackgroundWorker bg = new BackgroundWorker();

            bg.DoWork += backgroundCheck_DoWork;

            bg.RunWorkerCompleted += backgroundCheck_Completed;
            bg.RunWorkerAsync();
        }
コード例 #2
0
 public NewRelease(YAppInterface appInterface, YAppReleaseManager appReleaseManager)
 {
     InitializeComponent();
     _appInterface                    = appInterface;
     _appReleaseManager               = appReleaseManager;
     checkUpdate.Checked              = _appInterface.GetCheckUpdateSettings();
     this.checkUpdate.CheckedChanged += new System.EventHandler(this.checkUpdate_CheckedChanged);
 }