private void AlertButton_OnClick(object sender, RoutedEventArgs e) { if (_alertSchema == null) { return; } if (new AlertSettingsWindow { Schema = _alertSchema }.ShowModal(this)) { TryRegisterAlertSchema(); IsChecked = _alertSchema.AlertType != null; SchemaChanged.SafeInvoke(); } }
internal void RaiseSchemaChanged(DbCommand dbCommand) { SchemaChanged?.Invoke(this, new DbCommandEventArgs(dbCommand)); }