Ejemplo n.º 1
0
 private void HandleListView_DoubleClick(object sender, RoutedEventArgs e)
 {
     var ladderTab = mainWindow.ladderView;
     try
     {
         matchSelected = ladderTab.GetTeamsSelectedTeam();
         if (!matchSelected.GetPlayed())
         {
             currentMatchID = matchSelected.GetMatchID();
             liveMatch.SetMatchType(MatchType.Ladder);
             LaunchGame(matchSelected);
         }
     }
     catch (NoGameSelectedException)
     {
         Console.WriteLine("No game selected");
     }
 }