コード例 #1
0
        private void SaveData()
        {
            this.CurrentParamSetting.ParamMeta = this.sinoSZUC_GuideLineQueryInput1.ExportValueByXml();
            List <MDQuery_GuideLineParameter> _paramters = this.sinoSZUC_GuideLineQueryInput1.GetParamters();

            using (MetaDataQueryServiceClient _msc = new MetaDataQueryServiceClient())
            {
                if (_msc.SaveGuideLineParamSetting(this.CurrentParamSetting, _paramters.ToArray()))
                {
                    XtraMessageBox.Show("保存成功!", "系统提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
                    return;
                }
                else
                {
                    XtraMessageBox.Show("保存失败!", "系统提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
                    return;
                }
            }
        }