コード例 #1
0
        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;
        }
コード例 #2
0
        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;
        }
コード例 #3
0
        protected override void Dispose(bool disposing)
        {
            base.Dispose(disposing);

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

            if (details != null)
            {
                details.Dispose();
                details = null;
            }
        }
コード例 #4
0
        protected override void Dispose(bool disposing)
        {
            base.Dispose (disposing);

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

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