private void btnFinish_Click(object sender, EventArgs e) { //if (startAgain) createXML(); Genetic_Algorithms.Program.groups = this.groups; Genetic_Algorithms.Program.fixedEvents = this.fixedEvents; Genetic_Algorithms.Program.events = this.events; Genetic_Algorithms.Program.rooms = this.rooms; Genetic_Algorithms.Program.run(); DisplayTimetable dt = new DisplayTimetable(); dt.Show(); }