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

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

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

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

            Frm3.textBox1.Text = Frm2.textBox1.Text;
            Frm3 = new LessonOfTeacher();
            RelatedOfTeacher Frm4 = new RelatedOfTeacher();

            Frm4.textBox7.Text = Frm3.textBox1.Text;
            Frm4.ShowDialog();
        }
Пример #2
0
        private void responsibilityToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Responsibility Frm = new Responsibility();

            Frm.Show();
        }