public NodeClickEventArgs(NodeClickCommandEnum command, int categoryId, string customCommand = "") { this.command = command; this.categoryId = categoryId; this.customCommand = customCommand; }
public void NodeCommand(NodeClickCommandEnum command, int categoryId, string customCommand = "") { if (this.NodeClick != null) { var args = new NodeClickEventArgs(command, categoryId, customCommand); this.NodeClick(this, args); } }