예제 #1
0
 private void SaveData()
 {
     using (MetaDataServiceClient _mdc = new MetaDataServiceClient())
     {
         MD_View2App _newData = this.GetData();
         if (_mdc.SaveView2App(_newData.ID, _newData))
         {
             XtraMessageBox.Show("保存成功!", "系统提示", MessageBoxButtons.OK);
             this._haveChange = false;
             RaiseDataChanged();
         }
         else
         {
             XtraMessageBox.Show("保存失败!", "系统提示", MessageBoxButtons.OK);
         }
     }
 }