private void btnFinalize_Click(object sender, EventArgs e)
 {
     Form1 frm = this.Owner as Form1;
     if (frm != null)
     {
         Schedule tmpSchedule = new Schedule(Convert.ToInt32(tbDay.Text),
                                             Convert.ToInt32(tbMonth.Text),
                                             Convert.ToInt32(tbYear.Text));
         frm.schedules.Add(tmpSchedule);
     }
     this.Close();
 }
Ejemplo n.º 2
0
 public void addTeam(Schedule schedule, Team team)
 {
     schedule.teams.Add(team);
 }
Ejemplo n.º 3
0
 public void newSchedule(Schedule sch)
 {
     schedule.Add(sch);
 }