private void frmStudySession_Shown(object sender, EventArgs e) { studysession = new StudySession(DateTime.Now, tiring, happiness); foreach (Task task in tasks) { studysession.addNewTask(task); } MessageBox.Show("click OK to start study session"); timer.Enabled = true; }
private void frmStudySession_Shown(object sender, EventArgs e) { studysession = new StudySession(DateTime.Now, tiring, happiness); foreach(Task task in tasks) { studysession.addNewTask(task); } MessageBox.Show("click OK to start study session"); timer.Enabled = true; }