public Schedule(int day, int month, int year, Team team)
 {
     this.day = day;
     this.month = month;
     this.year = year;
     this.teams.Add(team);
 }
 public Sportsman(string name, string surname, string sport, Team team)
 {
     this.name = name;
     this.surname = surname;
     this.sport = sport;
     this.team = team;
 }
 private void btnFinalize_Click(object sender, EventArgs e)
 {
     Form1 frm = this.Owner as Form1;
     if (frm != null)
     {
         Team tmpTeam = new Team(tbName.Text, Convert.ToInt32(tbScore.Text));
         frm.teams.Add(tmpTeam);
     }
     this.Close();
 }
 public void addTeam(Schedule schedule, Team team)
 {
     schedule.teams.Add(team);
 }
 public void AddTeam(Sportsman man, Team tm)
 {
     man.team = tm;
 }