Ejemplo n.º 1
0
 private void SendFKInfo()
 {
     if (_infoData == null)
     {
         return;
     }
     if (this.te_FKJG.EditValue != null && this.te_FKJG.EditValue.ToString().Trim() != "")
     {
         string _fkjg = this.te_FKJG.EditValue.ToString();
         using (MetaDataQueryServiceClient _rsc = new MetaDataQueryServiceClient())
         {
             if (_rsc.SendDataCheckMsgFK(_infoData.ID, _fkjg))
             {
                 XtraMessageBox.Show("反馈成功!", "系统提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
                 this.DialogResult = DialogResult.OK;
                 this.Close();
             }
             else
             {
                 XtraMessageBox.Show("反馈失败!", "系统提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
                 return;
             }
         }
     }
     else
     {
         XtraMessageBox.Show("请选择反馈结果!", "系统提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
         return;
     }
 }