private void Window_CommandSaved(object sender, CommandModelBase command)
 {
     if (command != null)
     {
         CommandActionEditorControlViewModel viewModel = (CommandActionEditorControlViewModel)this.DataContext;
         if (viewModel != null)
         {
             viewModel.SelectedCommandType = command.Type;
             viewModel.SelectedCommand     = command;
         }
         GroupedCommandsMainControlViewModelBase.CommandAddedEdited(command);
     }
 }
Exemplo n.º 2
0
 protected void SetViewModel(GroupedCommandsMainControlViewModelBase viewModel)
 {
     this.viewModel = viewModel;
 }
 private void Window_CommandSaved(object sender, CommandModelBase command)
 {
     GroupedCommandsMainControlViewModelBase.CommandAddedEdited(command);
 }