Beispiel #1
0
        private void OnAddTeam(object sender, EventArgs e)
        {
            TeamForm form = new TeamForm(team_data_.Teams);

            if (form.ShowDialog(this) != DialogResult.OK)
            {
                return;
            }
            team_data_.Teams = form.Teams;
            Save();
            UpdateTeamList();
        }
Beispiel #2
0
 private void OnAddTeam(object sender, EventArgs e)
 {
     TeamForm form = new TeamForm(team_data_.Teams);
     if (form.ShowDialog(this) != DialogResult.OK)
       return;
     team_data_.Teams = form.Teams;
     Save();
     UpdateTeamList();
 }