Exemplo n.º 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();
     }
 }
Exemplo n.º 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();
            }
        }