Exemple #1
0
 public void SetGt(ICollection<PS_gt> gts) {
     gtlist = new List<itemobj>();
     foreach (PS_gt gt in gts) {
         itemobj obj = new itemobj(gt);
         comboBoxEdit10.Properties.Items.Add(obj);
         comboBoxEdit11.Properties.Items.Add(obj);
         gtlist.Add(obj);
     }
 }
 public void SetGt(ICollection<sd_gt> gts) {
     gtlist = new List<itemobj>();
     foreach (sd_gt gt in gts) {
         itemobj obj =new itemobj(gt);
         comboBoxEdit10.Properties.Items.Add(obj);
         comboBoxEdit11.Properties.Items.Add(obj);
         gtlist.Add(obj);
     }
     RowData = new sd_gtsb();
     rowData.sbNumber = 1;
 }