Esempio n. 1
0
        public SummaryViewController(FlightDetailsViewController details)
            : base(UITableViewStyle.Plain, new RootElement (null))
        {
            Title = "FAA Currency";
            EnableSearch = false;

            this.details = details;
        }
Esempio n. 2
0
        public SummaryViewController(FlightDetailsViewController details) :
            base(UITableViewStyle.Plain, new RootElement(null))
        {
            Title        = "FAA Currency";
            EnableSearch = false;

            this.details = details;
        }
        public FlightLogViewController(FlightDetailsViewController details)
            : base(UITableViewStyle.Plain, new RootElement (null))
        {
            SearchPlaceholder = "Search Flights";
            AutoHideSearch = true;
            EnableSearch = true;
            Autorotate = true;
            Title = "Flights";

            this.details = details;
        }
        public FlightLogViewController(FlightDetailsViewController details) :
            base(UITableViewStyle.Plain, new RootElement(null))
        {
            SearchPlaceholder = "Search Flights";
            AutoHideSearch    = true;
            EnableSearch      = true;
            Autorotate        = true;
            Title             = "Flights";

            this.details = details;
        }
        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;
        }
        public SummarySplitViewController()
        {
            TabBarItem.Image = UIImage.FromBundle("Images/first");
            Title            = "Summary";

            details  = new FlightDetailsViewController();
            overview = new SummaryViewController(details);

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

            ViewControllers = controllers;
        }
Esempio n. 7
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;
        }
        public SummarySplitViewController()
        {
            TabBarItem.Image = UIImage.FromBundle ("Images/first");
            Title = "Summary";

            details = new FlightDetailsViewController ();
            overview = new SummaryViewController (details);

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

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

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

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

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

            base.Dispose (disposing);
        }
Esempio n. 11
0
        protected override void Dispose(bool disposing)
        {
            base.Dispose(disposing);

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

            if (details != null)
            {
                details.Dispose();
                details = null;
            }
        }
Esempio n. 12
0
        public FlightLogSplitViewController()
        {
            TabBarItem.Image = UIImage.FromBundle("Images/radar");
            Title            = "Flights";

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

            flights.DetailsViewController = details;
            details.RootViewController    = flights;

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

            ViewControllers = controllers;
            WeakDelegate    = details;
        }
        public FlightLogSplitViewController()
        {
            TabBarItem.Image = UIImage.FromBundle ("Images/radar");
            Title = "Flights";

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

            flights.DetailsViewController = details;
            details.RootViewController = flights;

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

            ViewControllers = controllers;
            WeakDelegate = details;
        }
        protected override void Dispose(bool disposing)
        {
            base.Dispose (disposing);

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

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