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); } }
private void Window_CommandSaved(object sender, CommandModelBase command) { GroupedCommandsMainControlViewModelBase.CommandAddedEdited(command); }