UpdateEditor() public method

public UpdateEditor ( Control control ) : void
control System.Windows.Forms.Control
return void
Beispiel #1
0
        public void DisplayEditor(Control control, EditableControl owner)
        {
            if (control == null || owner == null)
                throw new ArgumentNullException();

            if (CurrentNode != null)
            {
                HideEditor();
                _currentEditor = control;
                _currentEditorOwner = owner;
                UpdateEditorBounds();

                UpdateView();
                control.Parent = this;
                control.Focus();
                owner.UpdateEditor(control);
            }
        }