private void ShowCommandEditor(CommandEditorControlBase editor) { this.CommandSelectionGrid.Visibility = Visibility.Collapsed; this.MainContentControl.Visibility = Visibility.Visible; this.MainContentControl.Content = this.commandEditorControl = editor; this.commandEditorControl.OnCommandSaveSuccessfully += CommandEditorControl_OnCommandSaveSuccessfully; }
public ActionContainerControl(CommandWindow window, CommandEditorControlBase editorControl, ActionTypeEnum type) { this.Window = window; this.EditorControl = editorControl; this.type = type; InitializeComponent(); this.Loaded += ActionContainerControl_Loaded; }
public ActionContainerControl(CommandWindow window, CommandEditorControlBase editorControl, ActionTypeEnum type) { this.Window = window; this.EditorControl = editorControl; this.type = type; InitializeComponent(); this.ActionContentContainerControl = (ActionContentContainerControl)this.GetByUid("ActionContentContainerControl"); this.ActionContentContainerControl.AssignAction(this.type); this.Loaded += ActionContainerControl_Loaded; }
public ActionContainerControl(CommandWindow window, CommandEditorControlBase editorControl, ActionBase action) : this(window, editorControl, action.Type) { this.action = action; }
public ActionContainerControl(CommandWindow window, CommandEditorControlBase editorControl, ActionBase action) : this(window, editorControl, action.Type) { this.action = action; this.ActionContentContainerControl.AssignAction(this.action); }