public DrawEventArgs(TreeNodeAdv node, EditableControl control, DrawContext context, string text) : base(node) { _control=control; _context=context; _text=text; }
internal void DisplayEditor(Control editor, EditableControl owner) { if(editor==null||owner==null||CurrentNode==null) throw new ArgumentNullException(); HideEditor(false); CurrentEditor=editor; CurrentEditorOwner=owner; _editingNode=CurrentNode; editor.Validating+=EditorValidating; UpdateEditorBounds(); UpdateView(); editor.Parent=this; editor.Focus(); owner.UpdateEditor(editor); }