private void buttonNext_Click(object sender, EventArgs e) { Form2 form2 = new Form2(); string formName = ActiveControl.FindForm().Name.ToString(); TimeHandler.StartTime(); form2.Show(); }
private void Form2_Load(Object sender, EventArgs e) { //MessageBox.Show("You are in the Form.Shown event."); TimeHandler.StopTime(); }