private void importLapsButton_Click(object sender, EventArgs e) { var window = new ImportWizard(); var result = window.ShowDialog(this); if (result == DialogResult.OK) { _laps.Add(window.Laps); _laps.RemoveDuplicates(); SaveLaps(); } }