コード例 #1
0
        private void ShowMap()
        {
            // Launches a new instance of CallHistoryController
            MapViewController mapView = this.Storyboard.InstantiateViewController("MapViewController") as MapViewController;

            if (mapView != null)
            {
                mapView.NavigationItem.SetHidesBackButton(true, false);
                this.NavController.PushViewController(mapView, false);
                var menuController = (MyMenuController)Storyboard.InstantiateViewController("MyMenuController");
                SidebarController.ChangeMenuView(menuController);
                SidebarController.MenuWidth      = 250;
                SidebarController.ReopenOnRotate = false;
            }
        }
コード例 #2
0
 public ConsumptionSource(List <ConsumptionModel> consumptionModels, MapViewController dashboard)
 {
     _consumptionModels = consumptionModels;
     _dashboard         = dashboard;
 }