示例#1
0
 private void GetTables()
 {
     MasterDesignTable  = MasterDesign.GetAllData();
     DomainDesignsTable = DomainDesigns.GetAllData();
     DomainDesignCodes  = DomainDesignsTable
                          .Select(row => row.DomainDesignCode)
                          .ToArray();
 }
示例#2
0
        private void LoadData()
        {
            MasterDesignTable  = MasterDesign.GetAllData();
            DomainDesignsTable = DomainDesigns.GetAllData();
            DomainDesignCodes  = DomainDesignsTable
                                 .Select(row => row.DomainDesignCode)
                                 .ToArray();

            foreach (TabPage tabPage in MainTabControl.TabPages)
            {
                LoadData(tabPage);
            }

            CreateControls(MainTabControl.SelectedTab);
        }