示例#1
0
 public override bool FinishedLaunching(UIApplication app, NSDictionary options)
 {
     window                        = new UIWindow(UIScreen.MainScreen.Bounds);
     tabController                 = new InitialTabBarController();
     nav1                          = new UINavigationController();
     nav2                          = new UINavigationController();
     allControls                   = new AllControlsViewController();
     aboutView                     = new AboutViewController();
     nav1.ViewControllers          = new UIViewController[] { allControls };
     nav2.ViewControllers          = new UIViewController[] { aboutView };
     tabController.ViewControllers = new UIViewController[] { nav1, nav2 };
     window.RootViewController     = tabController;
     window.MakeKeyAndVisible();
     return(true);
 }
		public override bool FinishedLaunching (UIApplication app, NSDictionary options)
		{
			window 							= new UIWindow (UIScreen.MainScreen.Bounds);
			tabController 					= new InitialTabBarController ();
			nav1 							= new UINavigationController ();
			nav2 							= new UINavigationController ();
			allControls 					= new AllControlsViewController ();
			aboutView 						= new AboutViewController ();
			nav1.ViewControllers 			= new UIViewController[] { allControls };
			nav2.ViewControllers 			= new UIViewController[] { aboutView };
			tabController.ViewControllers 	= new UIViewController[] { nav1, nav2 };
			window.RootViewController 		= tabController;
			window.MakeKeyAndVisible ();		
			return true;
		}
示例#3
0
 public AllControlsViewSource(AllControlsViewController allControl)
 {
     this.controller = allControl;
     controls        = this.controller.controls;
 }
			public AllControlsViewSource (AllControlsViewController allControl)
			{
				this.controller = allControl;
				controls 		= this.controller.controls;
			}