예제 #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
        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;
        }