private void изменитьДанныеToolStripMenuItem_Click(object sender, EventArgs e) { Form changePersonInfo = new ChangePersonInfo(patient); changePersonInfo.Owner = this; changePersonInfo.Show(); }
private void редактироватьДанныеToolStripMenuItem_Click(object sender, EventArgs e) { Form changePersonInfo = new ChangePersonInfo(doctor); changePersonInfo.Owner = this; changePersonInfo.Show(); }