public Form1() { InitializeComponent(); //take databaseHandler _db = Database.Database.getDatabaseHandler(); //if database doesn't exist initialize database if (!_db.hasDatabase) { _db.initDatabase(); } setCBoxTrackID(); mapGoogle = new MOBMAP.MapGoogle.MapGoogle(this.pBoxMap.Width, this.pBoxMap.Height); }