protected sealed override void OnBeforeLabelEdit(NodeLabelEditEventArgs e) { VirtualTreeNode node = (VirtualTreeNode)e.Node; VirtualNodeLabelEditEventArgs args = new VirtualNodeLabelEditEventArgs(node, e.Label); OnBeforeLabelEdit(args); e.CancelEdit = args.CancelEdit; }
protected virtual void OnAfterLabelEdit(VirtualNodeLabelEditEventArgs e) { EventHandler <VirtualNodeLabelEditEventArgs> handler = AfterLabelEdit; if (handler != null) { handler(this, e); } }
protected virtual void OnAfterLabelEdit(VirtualNodeLabelEditEventArgs e) { EventHandler<VirtualNodeLabelEditEventArgs> handler = AfterLabelEdit; if (handler != null) { handler(this, e); } }