Пример #1
0
        public override bool FinishedLaunching(UIApplication app, NSDictionary options)
        {
            window = new UIWindow (UIScreen.MainScreen.Bounds);

            UserData = new SQLite.DataManager(SQLite.DataManager.DatabaseFilePath);

            tabBarController = new TabBarController ();

            if (UserData.CountAttendees() == 0)
                UserData.LoadSeedAttendeeData();

            window.RootViewController = tabBarController;
            window.MakeKeyAndVisible ();

            return true;
        }
Пример #2
0
        public override bool FinishedLaunching(UIApplication app, NSDictionary options)
        {
            window = new UIWindow(UIScreen.MainScreen.Bounds);

            UserData = new SQLite.DataManager(SQLite.DataManager.DatabaseFilePath);

            tabBarController = new TabBarController();

            if (UserData.CountAttendees() == 0)
            {
                UserData.LoadSeedAttendeeData();
            }

            window.RootViewController = tabBarController;
            window.MakeKeyAndVisible();

            return(true);
        }