Exemple #1
0
		public override bool FinishedLaunching (UIApplication app, NSDictionary options)
		{			
			_db = new Database (Path.Combine (Environment.GetFolderPath (Environment.SpecialFolder.MyDocuments), "stocks.db"));
			_db.Trace = true;
			
			var stocksView = new StocksView (_db);
			
			_navigationController = new UINavigationController (stocksView);
			
			window.AddSubview (_navigationController.View);
			
			window.MakeKeyAndVisible ();
			
			return true;
		}
Exemple #2
0
        public override bool FinishedLaunching(UIApplication app, NSDictionary options)
        {
            _db       = new Database(Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments), "stocks.db"));
            _db.Trace = true;

            var stocksView = new StocksView(_db);

            _navigationController = new UINavigationController(stocksView);

            window.AddSubview(_navigationController.View);

            window.MakeKeyAndVisible();

            return(true);
        }