Пример #1
0
        /// <summary>初始化树结构</summary>
        private void InitialDefineTable()
        {
            List <DataSource> dsList = ModelDesignProject.GetDataSourceList();
            TreeNode          dsNode = null;

            foreach (DataSource item in dsList)
            {
                dsNode      = new TreeNode();
                dsNode.Name = item.DataSourceName;
                //dsNode.Text = item.DSDisplayText;
                this.tableStructTree.Nodes[0].Nodes.Add(dsNode);
            }
        }