예제 #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();
        }
예제 #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();
 }