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

            directionOfPreparation.Show();
        }
コード例 #3
0
        private void SelectCode_FormClosing(object sender, FormClosingEventArgs e)
        {
            DirectionOfPreparation selectCode = (DirectionOfPreparation)sender;

            tbCodeSpec.Text = selectCode.selectDirectionOfPreparation;
        }