Private Sub Application_Start (Nav As NavigationController)
NavControl = Nav
Page1.Initialize("Page1")
Page1.Title = "Page 1"
Page1.RootPanel.Color = Colors.White
Page1.RootPanel.LoadLayout("Page1")
NavControl.ShowPage(Page1)
ftp1.Initialize("FTP", "xx.xx.xx.xx", 21, "testing", "testing")
ftp1.PassiveMode = True
ftp1.UploadFile(File.DirDocuments, "smart_home.db", False, "/SmartHomeDatabase/IOS/AppleDev-smart_home.db")
End Sub