private void btCodeSpec_Click(object sender, EventArgs e) { DirectionOfPreparation selectCode = new DirectionOfPreparation(true); //selectCode.Owner = this; //selectCode.ShowDialog(); //tbCodeSpec.Text = codeSpec; selectCode.FormClosing += SelectCode_FormClosing; selectCode.Show(); }
private void направлениеПодготовкиToolStripMenuItem_Click(object sender, EventArgs e) { DirectionOfPreparation directionOfPreparation = new DirectionOfPreparation(); directionOfPreparation.Show(); }