Пример #1
0
        private void classToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Class Frm = new Class();

            Frm.ShowDialog();
            BenchNoClass Frm1 = new BenchNoClass();

            Frm1.textBox1.Text = Frm.textBox2.Text;
            Frm1.ShowDialog();
            ClassOfStudnet Frm2 = new ClassOfStudnet();

            Frm2.textBox1.Text = Frm1.textBox1.Text;
            Frm2.ShowDialog();
        }
Пример #2
0
        private void studentToolStripMenuItem1_Click(object sender, EventArgs e)
        {
            Studnet Frm = new Studnet();

            Frm.ShowDialog();
            ClassOfStudnet Frm1 = new ClassOfStudnet();

            Frm1.textBox1.Text = Frm.textBox3.Text;
            Frm1.ShowDialog();
            LessonOfStudent Frm2 = new LessonOfStudent();

            Frm2.textBox1.Text = Frm1.textBox1.Text;
            Frm2.ShowDialog();
            RelatedFamilyOfStudent Frm3 = new RelatedFamilyOfStudent();

            Frm3.textBox7.Text = Frm2.textBox1.Text;
            Frm3.ShowDialog();
        }
Пример #3
0
        private void classOfToolStripMenuItem_Click(object sender, EventArgs e)
        {
            ClassOfStudnet Frm = new ClassOfStudnet();

            Frm.Show();
        }