private void 医嘱单ToolStripMenuItem_Click(object sender, EventArgs e)
 {
     try
     {
         string        patient_id = dgvPatientInfo.CurrentRow.Cells["编号"].Value.ToString();
         InPatientInfo inPatient  = DataInit.GetInpatientInfoByPid(patient_id);
         frmYZ         fc         = new frmYZ(inPatient);
         App.FormStytleSet(fc, false);
         fc.Show();
     }
     catch (Exception ex)
     {
     }
 }
Beispiel #2
0
 private void 医嘱单ToolStripMenuItem_Click(object sender, EventArgs e)
 {
     try
     {
         string        patient_id = ucGridviewX1.fg["ID", ucGridviewX1.fg.CurrentRow.Index].Value.ToString();
         InPatientInfo inPatient  = BASE_COMMON.DataInit.GetInpatientInfoByPid(patient_id);
         frmYZ         fc         = new frmYZ(inPatient);
         App.FormStytleSet(fc, false);
         fc.Show();
     }
     catch (Exception ex)
     {
         //throw;
     }
 }
Beispiel #3
0
 private void 医嘱单ToolStripMenuItem_Click(object sender, EventArgs e)
 {
     try
     {
         string        patient_id = ucC1FlexGrid1.fg[ucC1FlexGrid1.fg.RowSel, "ID"].ToString();
         InPatientInfo inPatient  = BASE_COMMON.DataInit.GetInpatientInfoByPid(patient_id);
         if (inPatient != null)
         {
             frmYZ fc = new frmYZ(inPatient);
             App.FormStytleSet(fc, false);
             fc.Show();
         }
     }
     catch
     {
         App.MsgErr("请先选择病人或当前病人没有数据!");
     }
 }