Ejemplo n.º 1
0
        private void btnNewPatient_Click(object sender, EventArgs e)
        {
            PatientDetail pd = new PatientDetail();

            pd.Show();
            //Application.Run();
            //this.Hide();
        }
Ejemplo n.º 2
0
 private void gvPatient_CellContentClick(object sender, DataGridViewCellEventArgs e)
 {
     if (gvPatient.Columns[e.ColumnIndex].Name == "btnView")
     {
         string        strHN = gvPatient.CurrentRow.Cells["HN"].Value.ToString();
         PatientDetail pd    = new PatientDetail(strHN);
         pd.Show();
         //Application.Run();
         //this.Hide();
     }
 }