private void EditButton_Click(object sender, EventArgs e) { if (ListViewPatient.SelectedItems.Count > 0) { _patient = ListViewPatient.SelectedItems[0].Tag as Patient; } AddPatientForm addform = new AddPatientForm(_patient); addform.Show(); }
private void patientToolStripMenuItem_Click(object sender, EventArgs e) { AddPatientForm patientform = new AddPatientForm(); ShowForm(patientform); }
private void AddButton_Click(object sender, EventArgs e) { AddPatientForm addform = new AddPatientForm(); addform.Show(); }