Exemple #1
0
        public MainControl()
        {

            dataControl = new DataControl();
            startControl = new StartControl();
            LanguageControl.GetInstance();
        }
Exemple #2
0
        public Route(DataControl dc)
        {
            setList(dc);

            foreach(Sight sight in list)
            {
                visited.Add(sight.id, false);
            }
        }
Exemple #3
0
 public MapControl(DataControl dc, MapView mv)
 {
     dataControl = dc;
     mapView = mv;
     mapView.getInfoButton().IsEnabled = false;
     mapView.sightPinTapped += MapView_sightPinTapped;
     mapView.userPosChanged += MapView_userPosChanged;
     mapView.flyout.sightsListViewItemTapped += flyout_sightsListViewItemTapped;
     createSights();
 }
Exemple #4
0
 private async void setList(DataControl dc)
 {
     list = await dc.getSight();
 }