Exemple #1
0
        public WeekendStandingsView(WeekendStandings ws)
        {
            if (ws == null)
            {
                return;
            }

            DriverStandings standingOfFirstDriver =
                ws.FirstOrDefault(i => i.Position == 1);

            foreach (var item in ws)
            {
                Item wsvi = new Item(item, standingOfFirstDriver);

                inner.Add(wsvi);
            }
        }
Exemple #2
0
        private void BuildStandingsView(WeekendStandings weekendStandings)
        {
            WeekendStandingsView wsv = new WeekendStandingsView(weekendStandings);

            Extender.BuildGridForView(grdStandings, wsv, false);
        }
Exemple #3
0
        private void Init(WeekendStandings weekendStandings)
        {
            WeekendStandingsView view = new WeekendStandingsView(weekendStandings);

            ctrStandings.Init(view);
        }