Exemplo n.º 1
0
        public void BeginEdit()
        {
            TreeView tv = TreeView;

            if (tv != null)
            {
                tv.BeginEdit(this);
            }
        }
Exemplo n.º 2
0
        public void BeginEdit()
        {
            if (null == treeView)
            {
                return;
            }

            if (treeView.toolkitWindow != null)
            {
                if (!treeView.LabelEdit)
                {
                    throw new Exception(S._("SWF_TreeNodeLabelEditFalse"));
                }
                if (!treeView.Focused)
                {
                    treeView.Focus();
                }
                treeView.BeginEdit(this);
            }
        }