private void LicenseAgreementForm_FormClosing(object sender, FormClosingEventArgs e) { if (DialogResult != DialogResult.OK && DialogResult != DialogResult.No && DialogResult != DialogResult.None) { e.Cancel = true; ExitIntent.Check(); } }
private void SelectComponentsForm_FormClosing(object sender, FormClosingEventArgs e) { if (DialogResult != DialogResult.OK && DialogResult != DialogResult.No && DialogResult != DialogResult.None) { e.Cancel = true; ExitIntent.Check(); } }
private void LanguageSelectorForm_FormClosing(object sender, FormClosingEventArgs e) { if (DialogResult != DialogResult.OK) { e.Cancel = true; ExitIntent.Check(); } }
private void BtnCancel_Click(object sender, EventArgs e) { ExitIntent.Check(); }
private void Cancel_Click(object sender, RoutedEventArgs e) { ExitIntent.Check(); }