예제 #1
0
파일: Form1.cs 프로젝트: AshifMohamed/SMS
        private void metroButton1_Click(object sender, EventArgs e)
        {
            examProcess a = new examProcess();

            this.Hide();
            a.Show();
        }
예제 #2
0
        private void metroButton6_Click(object sender, EventArgs e)
        {
            if (ActiveMdiChild != null)
            {
                ActiveMdiChild.Close();
            }
            // leaveApplication newMDIChild = new leaveApplication();
            ExamITP.examProcess newMDIChild = new ExamITP.examProcess();

            // Set the Parent Form of the Child window.
            newMDIChild.MdiParent = this;
            // Display the new form.
            newMDIChild.Show();
            newMDIChild.Dock = DockStyle.Fill;
        }