Пример #1
0
        private void studentDetailsToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmStudentDetails studForm = new frmStudentDetails();

            studForm.MdiParent = this;

            studForm.Show();
        }
Пример #2
0
        private void btn_student_Click(object sender, EventArgs e)
        {
            frmStudentDetails studentDetailsForm = new frmStudentDetails();

            Hide();
            studentDetailsForm.ShowDialog();
            Show();
        }
Пример #3
0
        private void menuVDetails_Click(object sender, EventArgs e)
        {
            frmStudentDetails studDet = new frmStudentDetails();

            studDet.MdiParent = this;
            GlobalVar.frmCtrSD++;
            studDet.Text += " " + GlobalVar.frmCtrSD.ToString();
            studDet.Show();
        }