From 440970632c66d7bb5f5d9bbe1b7224aa2dbff544 Mon Sep 17 00:00:00 2001 From: Falcon <12919280+falconfly@user.noreply.gitee.com> Date: Wed, 24 Jul 2024 17:16:56 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E7=94=A8=E6=95=B0=E6=8D=AE=E5=BA=93?= =?UTF-8?q?=E5=A4=87=E4=BB=BD=E6=96=B9=E6=B3=95=E5=A4=87=E4=BB=BD=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E5=BA=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CalendarNotepad/WorkMain.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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("备份完成"); }