Пример #1
0
        public static List <WorldRegion> GetFakeMapRegions()
        {
            List <WorldRegion> mapRegions = new List <WorldRegion>();

            WorldRegion region = new WorldRegion("Double Hemisphere");

            region.Maps.Add(new MapInfo("Seutter", "Mattheus", "Diversi Globi Terr-Aquei", "c. 1730", "Double Hemisphere", "map1.jpeg"));
            region.Maps.Add(new MapInfo("Seutter2", "Mattheus2", "Diversi Globi Terr-Aquei 2", "c. 1731", "Double Hemisphere 2", "map2.jpg"));
            mapRegions.Add(region);

            region = new WorldRegion("Western Hemisphere");
            region.Maps.Add(new MapInfo("Sanson", "Nicholas", "California as an island", "c. 1657", "Western Hemisphere", "map3.jpg"));
            region.Maps.Add(new MapInfo("Sanson2", "Nicholas2", "California as an island 2", "c. 1657", "Western Hemisphere", "map4.jpg"));
            mapRegions.Add(region);

            return(mapRegions);
        }
Пример #2
0
 public MainWindow()
 {
     InitializeComponent();
     oldMaps.ItemsSource = WorldRegion.GetFakeMapRegions();
 }
Пример #3
0
        public static List<WorldRegion> GetFakeMapRegions()
        {
            List<WorldRegion> mapRegions = new List<WorldRegion>();

            WorldRegion region = new WorldRegion("Double Hemisphere");
            region.Maps.Add(new MapInfo("Seutter", "Mattheus", "Diversi Globi Terr-Aquei", "c. 1730", "Double Hemisphere", "map1.jpeg"));
            region.Maps.Add(new MapInfo("Seutter2", "Mattheus2", "Diversi Globi Terr-Aquei 2", "c. 1731", "Double Hemisphere 2", "map2.jpg"));
            mapRegions.Add(region);

            region = new WorldRegion("Western Hemisphere");
            region.Maps.Add(new MapInfo("Sanson", "Nicholas", "California as an island", "c. 1657", "Western Hemisphere", "map3.jpg"));
            region.Maps.Add(new MapInfo("Sanson2", "Nicholas2", "California as an island 2", "c. 1657", "Western Hemisphere", "map4.jpg"));
            mapRegions.Add(region);

            return mapRegions;
        }