Пример #1
0
        private void LoadTreeView()
        {
            BHelp     bhelp = new BHelp();
            HelpProxy proot = bhelp.GetHelpRoot();

            ComponentArt.Web.UI.TreeViewNode nodeRoot = new ComponentArt.Web.UI.TreeViewNode();
            nodeRoot.Text  = proot.Name;
            nodeRoot.ID    = proot.FormKey.ToString();
            nodeRoot.Value = proot.ID.ToString();
            LoadChild(nodeRoot);
            TreeViewHelpForm_HelpForm.Nodes.Add(nodeRoot);
        }
Пример #2
0
        public void GetRoot_Test()
        {
            HelpProxy proxy = busHlp.GetHelpRoot();

            Assert.IsTrue(proxy.ID > 0);
        }