public void MoveToDB() { CopyMoveDialog dlg = new CopyMoveDialog (); dlg.Title = Catalog.GetString ("Move Geocaches..."); dlg.Title = "Move Caches to Another Database..."; dlg.Filename = Config.DataDirectory; dlg.Icon = this.Icon; if ((int)ResponseType.Ok == dlg.Run ()) { CopyingProgress cp = new CopyingProgress (); cp.Icon = this.Icon; cp.Start (dlg.Filename, true, dlg.Mode, this); CacheList.Refresh (); } }
public void CopyToDB() { CopyMoveDialog dlg = new CopyMoveDialog (); dlg.Title = "Copy Caches to Another Database..."; dlg.Filename = Config.DataDirectory; dlg.Icon = this.Icon; if ((int)ResponseType.Ok == dlg.Run ()) { CopyingProgress cp = new CopyingProgress (); cp.Icon = this.Icon; cp.Start (dlg.Filename, false, dlg.Mode, this); } }