private void UpdateForm_FormClosing(object sender, FormClosingEventArgs e) { if (AutoUpdater.Mandatory && AutoUpdater.UpdateMode == Mode.Forced) { AutoUpdater.Exit(); } }
private void DownloadUpdateDialog_FormClosing(object sender, FormClosingEventArgs e) { if (AutoUpdater.Mandatory && AutoUpdater.UpdateMode == Mode.ForcedDownload) { AutoUpdater.Exit(); return; } if (_webClient is { IsBusy : true })