Ejemplo n.º 1
0
 private void ButtonCancelAction_OnClick(object sender, RoutedEventArgs e)
 {
     try
     {
         EventHandlers.ClearSettings(this, true, false, false, _streamDeckPanel.BindingHash);
         EventHandlers.SelectedButtonChanged(this, _streamDeckPanel.SelectedButton, _streamDeckPanel.BindingHash);
         EventHandlers.NotifyToSyncConfiguration(this, _streamDeckPanel.BindingHash);
         SetFormState();
     }
     catch (Exception ex)
     {
         Common.ShowErrorMessageBox(ex);
     }
 }