Пример #1
0
 private void SaveData()
 {
     this.NodesData.NodeName     = this.TE_NAME.EditValue.ToString();
     this.NodesData.DWDM         = this.TE_DWDM.EditValue.ToString();
     this.NodesData.DisplayTitle = this.TE_DISPLAY.EditValue.ToString();
     this.NodesData.Descript     = this.TE_DESCRIPT.EditValue.ToString();
     using (MetaDataServiceClient _mdc = new MetaDataServiceClient())
     {
         if (_mdc.SaveNodes(this.NodesData))
         {
             XtraMessageBox.Show("保存成功!");
             _haveChange = false;
             this.RaiseMenuChanged();
         }
     }
 }