private void Old_Visits_Load(object sender, EventArgs e) { try { Fill_DGV_Chronic(); Fill_DGV_Information(); DataTable dt = new DataTable(); dt = OV.Old_Visits1(VisitsForm.Com_patients); RText_Doctor.Text = dt.Rows[0][1].ToString(); RText_Name.Text = dt.Rows[0][0].ToString(); RText_Approximate.Text = dt.Rows[0][2].ToString(); RText_Balance.Text = dt.Rows[0][3].ToString(); DGV_OldVisits.ClearSelection(); DGV_Chronic.ClearSelection(); } catch (Exception ex) { } }
private void Old_Visits_MouseEnter(object sender, EventArgs e) { DGV_OldVisits.ClearSelection(); DGV_Chronic.ClearSelection(); }