diff --git a/CalendarNotepad/WorkMain.cs b/CalendarNotepad/WorkMain.cs index 0077a63..dce22ac 100644 --- a/CalendarNotepad/WorkMain.cs +++ b/CalendarNotepad/WorkMain.cs @@ -335,7 +335,8 @@ namespace CalendarNotepad return; } var filePath = sdlg.FileName; - File.Copy(this.Db.SqliteDbfile,filePath); + //File.Copy(this.Db.SqliteDbfile,filePath); + this.Db.DbMaintenance.BackupDataBase(null,filePath); MessageBox.Show("备份完成"); }