Пример #1
0
 public TopTenPhotoPage()
 {
     this.InitializeComponent();
     DataContext = _vm;
     this.navigationHelper = new NavigationHelper(this);
     this.navigationHelper.LoadState += navigationHelper_LoadState;
     this.navigationHelper.SaveState += navigationHelper_SaveState;
 }
Пример #2
0
        public DetailMapPage()
        {
            this.InitializeComponent();

            DataContext = _vm;



            this.navigationHelper = new NavigationHelper(this);
            this.navigationHelper.LoadState += navigationHelper_LoadState;
            this.navigationHelper.SaveState += navigationHelper_SaveState;


            _geolocator = new Geolocator();
            _locationIcon10m = new LocationIcon10m();
            _locationIcon100m = new LocationIcon100m();
            _locationIcon = new MyLocationIcon();
            _currentLocationPin = new currentLocationPin();
            goToLocation();



        }