コード例 #1
0
        public override bool FinishedLaunching(UIApplication app, NSDictionary options)
        {
            DeleteDatabaseIfItAlreadyExists();

            viewController = new CreateDatabaseWithAdoNetViewController();

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

            return(true);
        }
コード例 #2
0
ファイル: AppDelegate.cs プロジェクト: yofanana/recipes
        public override bool FinishedLaunching(UIApplication app, NSDictionary options)
        {
            DeleteDatabaseIfItAlreadyExists();

            viewController = new CreateDatabaseWithAdoNetViewController();

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

            return true;
        }