Exemple #1
0
        private void toolStripButton1_Click(object sender, EventArgs e)
        {
            NewStudent student = new NewStudent();

            student.userName  = userName;
            student.MdiParent = this;
            student.Show();
        }
Exemple #2
0
        private void newStudentToolStripMenuItem_Click(object sender, EventArgs e)
        {
            NewStudent student = new NewStudent();

            student.userName  = userName;
            student.MdiParent = this;
            student.Show();
        }