public void ModifyDatabase(Reclamation.TimeSeries.TimeSeriesDatabase db, PiscesFolder selectedFolder) { var dlg = new ImportCorpsDataQuery(); if (dlg.ShowDialog() == System.Windows.Forms.DialogResult.OK) { var s = new Usace.UsaceSeries(dlg.DssPath); db.AddSeries(s, selectedFolder); } }