예제 #1
0
        public void BeginEdit()
        {
            TreeView tv = TreeView;

            if (tv != null)
            {
                tv.BeginEdit(this);
            }
        }
예제 #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);
            }
        }