private void вКонецToolStripMenuItem_Click(object sender, EventArgs e) { Core.core_id = -1; AddStud f = new AddStud { Owner = this }; f.ShowDialog(); }
private void вУказаннуюПозициюToolStripMenuItem_Click(object sender, EventArgs e) { InputNum form = new InputNum { Owner = this }; form.ShowDialog(); if (form.DialogResult == DialogResult.OK) { AddStud f = new AddStud { Owner = this }; f.ShowDialog(); } }