private void button3_Click(object sender, EventArgs e) { Form patToDoc = new PatientToDoctor((Patient)person); patToDoc.ShowDialog(); }
private void записатьсяToolStripMenuItem_Click(object sender, EventArgs e) { Form record = new PatientToDoctor(thisPatient); record.Show(); }