Esempio n. 1
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void uTxt_name_DoubleClick(object sender, EventArgs e)
        {
            FrmClinicarCheckPatient frmClinicarCheckPatient = new FrmClinicarCheckPatient();

            frmClinicarCheckPatient.StartPosition = FormStartPosition.CenterScreen;
            frmClinicarCheckPatient.ShowDialog();
            if (frmClinicarCheckPatient.DialogResult == DialogResult.OK)
            {
                uTxt_name.Text = frmClinicarCheckPatient.F_DataEntityTransmit.Name;
                uCbo_genderCode.SelectedValue      = frmClinicarCheckPatient.F_DataEntityTransmit.GenderCode;
                uTxt_genderName.Text               = frmClinicarCheckPatient.F_DataEntityTransmit.GenderName;
                uCbo_nationalityCode.SelectedValue = frmClinicarCheckPatient.F_DataEntityTransmit.NationalityCode;
                uTxt_nationalityName.Text          = frmClinicarCheckPatient.F_DataEntityTransmit.NationalityName;
                uDat_birthday.Value = Convert.ToDateTime(frmClinicarCheckPatient.F_DataEntityTransmit.Birthday);
                uNum_age.Text       = frmClinicarCheckPatient.F_DataEntityTransmit.Age.ToString();
                uCbo_maritalStatusCode.SelectedValue   = frmClinicarCheckPatient.F_DataEntityTransmit.MaritalStatusCode;
                uTxt_maritalStatusName.Text            = frmClinicarCheckPatient.F_DataEntityTransmit.MaritalStatusName;
                uCbo_certificateTypeCode.SelectedValue = frmClinicarCheckPatient.F_DataEntityTransmit.CertificateTypeCode;
                uTxt_certificateTypeName.Text          = frmClinicarCheckPatient.F_DataEntityTransmit.CertificateTypeName;
                uTxt_certificateNumber.Text            = frmClinicarCheckPatient.F_DataEntityTransmit.CertificateNumber;
                uTxt_address.Text = frmClinicarCheckPatient.F_DataEntityTransmit.Address;
                uNum_tel.Text     = frmClinicarCheckPatient.F_DataEntityTransmit.Tel;
                uRic_remark.Text  = frmClinicarCheckPatient.F_DataEntityTransmit.Remark;
            }
        }
Esempio n. 2
0
        /// <summary>
        /// 检查号双击事件
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void uTxt_checkNum_DoubleClick(object sender, EventArgs e)
        {
            FrmClinicarCheckPatient frmClinicarCheckPatient = new FrmClinicarCheckPatient();

            frmClinicarCheckPatient.StartPosition = FormStartPosition.CenterScreen;
            frmClinicarCheckPatient.ShowDialog();
            if (frmClinicarCheckPatient.DialogResult == DialogResult.OK)
            {
                DataEntityClinicarCheck = frmClinicarCheckPatient.F_DataEntityTransmit;
                fillBack();
            }
        }
        /// <summary>
        /// 检查号选择窗体
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void btn_guide_Click(object sender, EventArgs e)
        {
            //患者查找
            FrmClinicarCheckPatient frmClinicarCheckPatient = new FrmClinicarCheckPatient();

            frmClinicarCheckPatient.StartPosition = FormStartPosition.CenterScreen;
            frmClinicarCheckPatient.ShowDialog();
            if (frmClinicarCheckPatient.DialogResult == DialogResult.OK)
            {
                DataEntity = new ClinicarCheck();
                DataEntity = frmClinicarCheckPatient.F_DataEntityTransmit;
                fillByCheckNum();
            }
        }
Esempio n. 4
0
        private void btn_search_Click(object sender, EventArgs e)
        {
            //患者查找
            FrmClinicarCheckPatient frmClinicarCheckPatient = new FrmClinicarCheckPatient();

            frmClinicarCheckPatient.StartPosition = FormStartPosition.CenterScreen;
            frmClinicarCheckPatient.ShowDialog();
            if (frmClinicarCheckPatient.DialogResult == DialogResult.OK)
            {
                ClinicarCheck DataEntity = new ClinicarCheck();
                DataEntity      = frmClinicarCheckPatient.F_DataEntityTransmit;
                ucTxt_code.Text = DataEntity.CheckNumber;
            }
            queryCheckNumber();
        }
Esempio n. 5
0
        private void btn_search_Click(object sender, EventArgs e)
        {
            //患者查找
            FrmClinicarCheckPatient frmClinicarCheckPatient = new FrmClinicarCheckPatient();

            frmClinicarCheckPatient.StartPosition = FormStartPosition.CenterScreen;
            frmClinicarCheckPatient.ShowDialog();
            if (frmClinicarCheckPatient.DialogResult == DialogResult.OK)
            {
                ClinicarCheck DataEntity = new ClinicarCheck();
                DataEntity                  = frmClinicarCheckPatient.F_DataEntityTransmit;
                uTxt_checknumber.Text       = DataEntity.CheckNumber;
                uTxt_name.Text              = DataEntity.Name;
                uTxt_age.Text               = DataEntity.Age == null ? "" : DataEntity.Age.ToString();
                ucCbo_sex.SelectedValue     = DataEntity.GenderCode;
                ucCbo_married.SelectedValue = DataEntity.MaritalStatusCode;
                uTxt_tel.Text               = DataEntity.Tel;
                uTxt_cardnumber.Text        = DataEntity.CertificateNumber;

                //根据检查号获取总检信息
                FineAllCheckInfo(Convert.ToInt32(DataEntity.Id), DataEntity.CheckNumber);
            }
        }