Ejemplo n.º 1
0
        // This method is invoked when the application has loaded its UI and its ready to run
        public override bool FinishedLaunching(UIApplication app, NSDictionary options)
        {
            TentsViewController tvc = new TentsViewController();
             	navController = new UINavigationController();
            navController.PushViewController(tvc, false);
            navController.NavigationBar.BarStyle = UIBarStyle.Black;
            navController.TopViewController.Title = "Tents";
            window = new UIWindow(UIScreen.MainScreen.Bounds);
            window.AddSubview (navController.View);
            window.MakeKeyAndVisible ();

            return true;
        }
Ejemplo n.º 2
0
        // This method is invoked when the application has loaded its UI and its ready to run
        public override bool FinishedLaunching(UIApplication app, NSDictionary options)
        {
            TentsViewController tvc = new TentsViewController();

            navController = new UINavigationController();
            navController.PushViewController(tvc, false);
            navController.NavigationBar.BarStyle  = UIBarStyle.Black;
            navController.TopViewController.Title = "Tents";
            window = new UIWindow(UIScreen.MainScreen.Bounds);
            window.AddSubview(navController.View);
            window.MakeKeyAndVisible();

            return(true);
        }
Ejemplo n.º 3
0
 public TableViewDelegate(TentsViewController controller, List <Tent> tents)
 {
     _tvc   = controller;
     _tents = tents;
 }
Ejemplo n.º 4
0
 public TableViewDelegate(TentsViewController controller, List<Tent> tents)
 {
     _tvc = controller;
     _tents = tents;
 }