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