Esempio n. 1
0
 private void StartControl_ViewFinished(object sender, ViewFinishedEventArgs e)
 {
     if ((string)e.Data == "create")
     {
         ccMain.Content = new InsertTeamsControl();
         ((View)ccMain.Content).ViewFinished += InsertTeams_ViewFinished;
     }
 }
Esempio n. 2
0
 private void InsertTasks_ViewFinished(object sender, ViewFinishedEventArgs e)
 {
     cm.Tasks = (IEnumerable <ContestTask>)e.Data;
     new RankingWindow(cm).Show();
 }
Esempio n. 3
0
 private void InsertTeams_ViewFinished(object sender, ViewFinishedEventArgs e)
 {
     cm.Teams       = (IEnumerable <ContestTeam>)e.Data;
     ccMain.Content = new InsertTasksControl();
     ((View)ccMain.Content).ViewFinished += InsertTasks_ViewFinished;
 }