private void CheckingUpdate() { updateChecker.CheckUpdate(); try { UpdateControls(); } catch { } IsBusy = false; }
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; } }