public MainControl() { dataControl = new DataControl(); startControl = new StartControl(); LanguageControl.GetInstance(); }
public Route(DataControl dc) { setList(dc); foreach(Sight sight in list) { visited.Add(sight.id, false); } }
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(); }
private async void setList(DataControl dc) { list = await dc.getSight(); }