Exemple #1
0
        private void SelectTreeNodeByText(object txt)
        {
            popTree.FilterNodes();

            if (string.Format("{0}", txt).Trim().Length == 0)
            {
                return;
            }
            string _txt = string.Format("{0}", txt).ToUpper();

            if (!SetTreeNode(this.popTree.Nodes, _txt, string.Format("{0}", this.EditValue)))
            {
                SetTreeNode(this.popTree.Nodes, _txt);
            }
        }