Exemplo n.º 1
0
        private void metroButton1_Click(object sender, EventArgs e)
        {
            examProcess a = new examProcess();

            this.Hide();
            a.Show();
        }
Exemplo n.º 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;
        }