コード例 #1
0
ファイル: AppDelegate.cs プロジェクト: OHorak/xamarin-samples
		public override bool FinishedLaunching (UIApplication app, NSDictionary options)
		{
			var ms = new MainScreen();
			
			window = new UIWindow (UIScreen.MainScreen.Bounds);	
			window.BackgroundColor = UIColor.White;
			window.Bounds = UIScreen.MainScreen.Bounds;

			window.RootViewController = ms;
            window.MakeKeyAndVisible ();
			return true;
		}
コード例 #2
0
ファイル: AppDelegate.cs プロジェクト: twlong/xamarin-samples
        public override bool FinishedLaunching(UIApplication app, NSDictionary options)
        {
            var ms = new MainScreen();

            window = new UIWindow(UIScreen.MainScreen.Bounds);
            window.BackgroundColor = UIColor.White;
            window.Bounds          = UIScreen.MainScreen.Bounds;

            window.RootViewController = ms;
            window.MakeKeyAndVisible();
            return(true);
        }