public ActionTreeNode(ScriptAction Action) : base(Action.Label) { this.Action = Action; ImageIndex = Action.ImageIndex; SelectedImageIndex = ImageIndex; }
private void SetAction(ScriptAction Action) { _action = Action; _action.Node = this; ImageIndex = _action.ImageIndex; SelectedImageIndex = ImageIndex; }