Esempio n. 1
0
 private void ClassementClub()
 {
     if (_partie.club != null && _partie.club.Championship != null)
     {
         _viewRanking = FactoryViewRanking.CreateView(_partie.club.Championship.rounds[0], 0.75, true, _partie.club, true);
         _viewRanking.Full(spRanking);
     }
 }
 private void Classement()
 {
     if (_tour != null)
     {
         View view = FactoryViewRanking.CreateView(_tour, 0.65, false, null, false);
         view.Full(spRanking);
     }
 }
Esempio n. 3
0
        private void ComboRounds_SelectionChanged(object sender, SelectionChangedEventArgs e)
        {
            Round t = comboRounds.SelectedItem as Round;

            if (t != null)
            {
                View vue = FactoryViewRanking.CreateView(t, 0.7);
                if (vue != null)
                {
                    vue.Full(spRoundRanking);
                    //vue.Afficher();
                }
                List <Match> matches = new List <Match>(t.matches);
                if (matches.Count > 0)
                {
                    matches.Sort(new MatchDateComparator());
                    _resultsCurrentDate = t.NextMatchesDate();
                    _firstDateOfRound   = matches[0].day;
                    _lastDateOfRound    = matches[matches.Count - 1].day;
                    Calendrier(t);
                }
            }
        }
Esempio n. 4
0
        private void Ranking(RankingType rankingType)
        {
            View vue = FactoryViewRanking.CreateView(_competition.rounds[_indexTour], 1, false, null, false, rankingType);

            vue.Full(spRanking);
        }