Esempio n. 1
0
 private void getInvestigationList()
 {
     try
     {
         dgvInv.DataSource = objCD.getInvestigationsFromApptID(Convert.ToInt32(txtAppID.Text));
     }
     catch (Exception ex)
     {
         CommonLogger.Info(ex.ToString());
     }
 }
 private void ShowInvestigationsHistory(int index)
 {
     try
     {
         dgvApptHistory.Rows[index].Selected = true;
         int app_id = Convert.ToInt32(dgvApptHistory.Rows[index].Cells["colHistID"].Value);
         lblHeadInvesHist.Text = "INVESTIGATIONS ON " + Utils.FormatDateShort(dgvApptHistory.Rows[index].Cells["colHistDate"].Value.ToString());
         dgvHistoryInvestigations.DataSource = objCD.getInvestigationsFromApptID(app_id);
     }
     catch (Exception ex)
     {
         CommonLogger.Info(ex.ToString());
     }
 }