Пример #1
0
        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();
            }
        }
Пример #2
0
 internal void RaiseSchemaChanged(DbCommand dbCommand)
 {
     SchemaChanged?.Invoke(this, new DbCommandEventArgs(dbCommand));
 }