예제 #1
0
        private void btnConfirm_Click(object sender, EventArgs e)
        {
            //当姓名不一致时提示
            if (inReimPara.PatInfo.InPatName != tbName.Text)
            {
                if (MessageBox.Show(" 低保卡姓名为:【" + tbName.Text.ToString() + "】     HIS患者姓名为:【" + inReimPara.PatInfo.InPatName + "】 是否继续 ", "询问", MessageBoxButtons.YesNo, MessageBoxIcon.Question, MessageBoxDefaultButton.Button2) != DialogResult.Yes)
                {
                    return;
                }
            }
            //DataSet ds = new DataSet();
            //string strSql = "";
            //strSql = "SELECT INVOICE_CODE,AMOUNT FROM ZY.[IN].IN_SETTLE_MAIN WHERE PAT_IN_HOS_ID='" + inReimPara.RegInfo.PatInHosId + "' AND FLAG_INVALID=0";
            //ds = sqlHelper.ExecSqlReDs(strSql);
            //if (ds.Tables[0].Rows.Count == 0)
            //{
            //    MessageBox.Show("没有找到此人出院发票信息,请确定是否出院!", "提示", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
            //    txtZYH.Focus();
            //    txtZYH.SelectAll();
            //    return;
            //}
            dsc = new DibaoSdaCash(tbIDCardNo.Text.Trim(), txt_YBZF.Text.Trim(), tbName.Text.Trim(), tbInsuranceID.Text.Trim(), tbInsuranceType.Text.Trim(), tbInsuranceTypeMC.Text.Trim(), tbAidType.Text.Trim(), tbAidTypeMC.Text.Trim(), tbSerialNo.Text.Trim(), tbGENDER.Text.Trim(), this.cmb_mgbz.SelectedValue.ToString(), this.cmb_mgbz.Text);
            dibao_zy_continue_js dzc = new dibao_zy_continue_js(inReimPara, dicSettleInfo, dicSettleInfoDibao, hosid, hosOperatorSysid, hosOperatorName, dsc);

            dzc.ShowDialog();
            if (dzc.isCancel)
            {
                this.isCancel = true;
            }
            this.Close();
        }
예제 #2
0
 public dibao_zy_continue_js(InPayParameter inReimPara, Dictionary <string, string> dicSettleInfo, Dictionary <string, string> dicSettleInfoDibao, string hosid, string hosOperatorSysid, string hosOperatorName, DibaoSdaCash dsc)
 {
     InitializeComponent();
     this.dsc = dsc;
     // TODO: Complete member initialization
     this.inReimPara         = inReimPara;
     this.dicSettleInfo      = dicSettleInfo;
     this.dicSettleInfoDibao = dicSettleInfoDibao;
     this.hosid            = hosid;
     this.hosOperatorSysid = hosOperatorSysid;
     this.hosOperatorName  = hosOperatorName;
 }