示例#1
0
 private void SaveData()
 {
     this.Data.Name         = this.TE_GroupName.EditValue.ToString();
     this.Data.DWDM         = this.TE_DWDM.EditValue.ToString();
     this.Data.DisplayOrder = int.Parse(this.TE_Order.EditValue.ToString());
     this.Data.Description  = this.TE_DESCRIPT.EditValue.ToString();
     using (MetaDataServiceClient _mdc = new MetaDataServiceClient())
     {
         if (_mdc.SaveConceptGroup(this.Data))
         {
             XtraMessageBox.Show("保存成功!");
             _haveChange = false;
             this.RaiseMenuChanged();
         }
     }
 }