示例#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;
     }
 }
示例#2
0
 private void InsertTasks_ViewFinished(object sender, ViewFinishedEventArgs e)
 {
     cm.Tasks = (IEnumerable <ContestTask>)e.Data;
     new RankingWindow(cm).Show();
 }
示例#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;
 }