Пример #1
0
        private void вКонецToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Core.core_id = -1;
            AddStud f = new AddStud
            {
                Owner = this
            };

            f.ShowDialog();
        }
Пример #2
0
        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();
            }
        }