Exemplo n.º 1
0
        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();
        }
Exemplo n.º 2
0
        private void направлениеПодготовкиToolStripMenuItem_Click(object sender, EventArgs e)
        {
            DirectionOfPreparation directionOfPreparation = new DirectionOfPreparation();

            directionOfPreparation.Show();
        }
Exemplo n.º 3
0
        private void SelectCode_FormClosing(object sender, FormClosingEventArgs e)
        {
            DirectionOfPreparation selectCode = (DirectionOfPreparation)sender;

            tbCodeSpec.Text = selectCode.selectDirectionOfPreparation;
        }