示例#1
0
        private void buttonNext_Click(object sender, EventArgs e)
        {
            Form2 form2 = new Form2();

            string formName = ActiveControl.FindForm().Name.ToString();

            TimeHandler.StartTime();
            form2.Show();
        }
示例#2
0
 private void Form2_Load(Object sender, EventArgs e)
 {
     //MessageBox.Show("You are in the Form.Shown event.");
     TimeHandler.StopTime();
 }