Пример #1
0
        private void button3_Click(object sender, EventArgs e)
        {
            Form patToDoc = new PatientToDoctor((Patient)person);

            patToDoc.ShowDialog();
        }
Пример #2
0
        private void записатьсяToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Form record = new PatientToDoctor(thisPatient);

            record.Show();
        }