public FlightLogSplitViewController()
        {
            TabBarItem.Image = UIImage.FromBundle ("Images/first");
            Title = "Flights";

            details = new FlightDetailsViewController ();
            flights = new FlightLogViewController (details);

            controllers = new UIViewController[] {
                new UINavigationController (flights),
                new UINavigationController (details),
            };

            ViewControllers = controllers;
        }
Exemple #2
0
        public FlightLogSplitViewController()
        {
            TabBarItem.Image = UIImage.FromBundle("Images/first");
            Title            = "Flights";

            details = new FlightDetailsViewController();
            flights = new FlightLogViewController(details);

            controllers = new UIViewController[] {
                new UINavigationController(flights),
                new UINavigationController(details),
            };

            ViewControllers = controllers;
        }
Exemple #3
0
        protected override void Dispose(bool disposing)
        {
            base.Dispose(disposing);

            if (flights != null)
            {
                flights.Dispose();
                flights = null;
            }

            if (details != null)
            {
                details.Dispose();
                details = null;
            }
        }
        protected override void Dispose(bool disposing)
        {
            base.Dispose (disposing);

            if (flights != null) {
                flights.Dispose ();
                flights = null;
            }

            if (details != null) {
                details.Dispose ();
                details = null;
            }
        }