Exemple #1
0
        private void metroButton1_Click(object sender, EventArgs e)
        {
            examProcess a = new examProcess();

            this.Hide();
            a.Show();
        }
Exemple #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;
        }
Exemple #3
0
 public AddMarksG1(examProcess ep2)
 {
     InitializeComponent();
     ep1 = ep2;
     this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.AddMarksG1_FormClosing);
 }