Ejemplo n.º 1
0
        private void CheckingUpdate()
        {
            updateChecker.CheckUpdate();

            try
            {
                UpdateControls();
            }
            catch
            {
            }

            IsBusy = false;
        }
Ejemplo n.º 2
0
        private void CheckUpdate()
        {
            if (!UpdateMessageBox.DontShow && !UpdateMessageBox.IsOpen)
            {
                UpdateChecker updateChecker = CreateUpdateChecker();
                updateChecker.CheckUpdate();

                if (UpdateMessageBox.Start(updateChecker, firstUpdateCheck) != DialogResult.Yes)
                {
                    updateTimer.Change(UpdateReCheckInterval, UpdateReCheckInterval);
                }

                firstUpdateCheck = false;
            }
        }