Beispiel #1
0
        public MapNames()
        {
            InitializeComponent();

            listH1c.ItemsSource = Halo1.Where(e => e.Type == MapType.Campaign);
            listH1m.ItemsSource = Halo1.Where(e => e.Type == MapType.Multiplayer);

            listH2c.ItemsSource = Halo2.Where(e => e.Type == MapType.Campaign);
            listH2m.ItemsSource = Halo2.Where(e => e.Type == MapType.Multiplayer);

            listH2a.ItemsSource = Halo2A;

            listH3c.ItemsSource = Halo3.Where(e => e.Type == MapType.Campaign);
            listH3m.ItemsSource = Halo3.Where(e => e.Type == MapType.Multiplayer);

            listOdstc.ItemsSource = HaloODST.Where(e => e.Type == MapType.Campaign);
            listOdsts.ItemsSource = HaloODST.Where(e => e.Type == MapType.Survival);

            listReachc.ItemsSource = HaloReach.Where(e => e.Type == MapType.Campaign);
            listReachs.ItemsSource = HaloReach.Where(e => e.Type == MapType.Survival);
            listReachm.ItemsSource = HaloReach.Where(e => e.Type == MapType.Multiplayer);

            listH4c.ItemsSource = Halo4.Where(e => e.Type == MapType.Campaign);
            listH4s.ItemsSource = Halo4.Where(e => e.Type == MapType.Survival);
            listH4m.ItemsSource = Halo4.Where(e => e.Type == MapType.Multiplayer);
        }