// This method is invoked when the application has loaded and is ready to run. In this
        // method you should instantiate the window, load the UI into it and then make the window
        // visible. You have 17 seconds to return from this method, or iOS will terminate your application.
        public override bool FinishedLaunching(UIApplication app, NSDictionary options)
        {
            this.window = new UIWindow (UIScreen.MainScreen.Bounds);

            //---- instantiate a new navigation controller
            rootNavigationController = new UINavigationController();

            //---- add the home screen to the navigation controller
            // (it'll be the top most screen)
            BoxOfficeScreen boxOfficeScreen = new BoxOfficeScreen();
            rootNavigationController.PushViewController(boxOfficeScreen, false);

            //---- set the root view controller on the window. the nav
            // controller will handle the rest
            this.window.RootViewController = rootNavigationController;
            this.window.MakeKeyAndVisible ();

            return true;
        }
        // This method is invoked when the application has loaded and is ready to run. In this
        // method you should instantiate the window, load the UI into it and then make the window
        // visible. You have 17 seconds to return from this method, or iOS will terminate your application.
        public override bool FinishedLaunching(UIApplication app, NSDictionary options)
        {
            this.window = new UIWindow(UIScreen.MainScreen.Bounds);

            //---- instantiate a new navigation controller
            rootNavigationController = new UINavigationController();

            //---- add the home screen to the navigation controller
            // (it'll be the top most screen)
            BoxOfficeScreen boxOfficeScreen = new BoxOfficeScreen();

            rootNavigationController.PushViewController(boxOfficeScreen, false);

            //---- set the root view controller on the window. the nav
            // controller will handle the rest
            this.window.RootViewController = rootNavigationController;
            this.window.MakeKeyAndVisible();

            return(true);
        }