コード例 #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 studentNoOfTeacherToolStripMenuItem_Click(object sender, EventArgs e)
        {
            StudentNoOfTeacher Frm = new StudentNoOfTeacher();

            Frm.Show();
        }