コード例 #1
0
 private void tsmResultView_Click(object sender, EventArgs e)
 {
     try
     {
         if (grdPatients.CurrentRow == null | tabTestInfo.SelectedTab.Name != "tabResult") return;
         frmTestResultInfo frm = new frmTestResultInfo();
         frm.grwPatient = grdPatients.CurrentRow;
         frm.ShowDialog();
         tsmRefresh.PerformClick();
     }
     catch (Exception ex)
     {
         Utility.ShowMsg(ex.Message);
     }
 }
コード例 #2
0
 /// <summary>
 /// Hiển thị form kết quả
 /// </summary>
 private void LoadAllResult()
 {
     try
     {
         if (grdPatients.CurrentRow == null) return;
         var frm = new frmTestResultInfo();
         frm.grwPatient = grdPatients.CurrentRow;
         frm.LoadAllTest = true;
         frm.ShowDialog();
     }
     catch (Exception ex)
     {
         Utility.ShowMsg(ex.Message);
     }
 }