Example #1
0
 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();
     }
 }
Example #2
0
        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();
            }
        }