private void timetableForm_SaveExistingCoachTimetable(CoachTimetable coachTimetable) { coachTimetableList[lessonsListBox.SelectedIndex] = coachTimetable; }
private void timetableInputForm_SaveNewCoachTimetable(CoachTimetable coachTimetable) { coachTimetableList.Add(coachTimetable); lessonsListBox.Items.Add("Lesson " + coachTimetableList.Count.ToString()); }