private void ExportDBs() { Output.WriteToFile("===== EXPORT DBS... ====="); DbUtilities dbu = new DbUtilities(); Output.WriteToFile("StationGeoData.db"); dbu.ExportDB_Geostation(Application.StartupPath.Replace("PumpAnalysis", "PumpData")); //System.Threading.Thread.Sleep(5000); //5 sec Output.WriteToFile("Archived.db"); dbu.ExportDB_Archived(Application.StartupPath.Replace("PumpAnalysis", "PumpData")); //System.Threading.Thread.Sleep(5000); //5 sec Output.WriteToFile("===== DBS EXPORTED... ====="); }
private void btnExportPumpInfo_Click(object sender, EventArgs e) { DbUtilities dbu = new DbUtilities(); dbu.ExportDB_Archived(); }