Beispiel #1
0
 private void edit_btn_Click(object sender, EventArgs e)
 {
     int id = Int32.Parse(patients_dataGridView.CurrentRow.Cells["id"].Value.ToString());
       AddPatientForm form = new AddPatientForm(id, this);
       //AddPatientForm form = new AddPatientForm(this, );
       form.ShowDialog();
 }
Beispiel #2
0
 private void addPatient_btn_Click(object sender, EventArgs e)
 {
     AddPatientForm form = new AddPatientForm(this);
      form.ShowDialog();
 }