示例#1
0
 public void InitInput()
 {
     this.xtraTabControl1.TabPages.Clear();
     using (MetaDataQueryServiceClient _msc = new MetaDataQueryServiceClient())
     {
         List <MD_ConceptGroup> _cGroups = _msc.GetConceptList().ToList <MD_ConceptGroup>();
         foreach (MD_ConceptGroup _group in _cGroups)
         {
             XtraTabPage _tb = this.xtraTabControl1.TabPages.Add(_group.Description);
             _tb.Tag = _group;
             SinoSZUC_SearchItem _si = new SinoSZUC_SearchItem(_group);
             _si.Dock = DockStyle.Fill;
             _tb.Controls.Add(_si);
             _si.BringToFront();
         }
     }
 }