private void LoadDepTree()
        {
            var service = new LocationService();
            var tree    = service.GetDepartmentTree();

            DepTreeView1.LoadData(tree);
        }
Example #2
0
        public void LoadData(PhysicalTopology tree1, Department tree2, AreaNode tree3 = null)
        {
            TopoTreeView1.LoadData(tree1);
            TopoTreeView1.ExpandLevel(2);
            TopoTreeView1.SelectFirst();

            DepTreeView1.LoadData(tree2);
            TopoTreeView1.ExpandLevel(2);

            PersonTreeView1.LoadData(tree3);
        }