This commit is contained in:
sc committed 2023-10-30 19:45:51 +08:00
commit 1bfbd9cc8d
3 files changed
+9 -25

No files matched your search

-20
View File
@@ -25,7 +25,6 @@ namespace formula_manage.Windows
{
public SQL_BAK()
{
System.Windows.MessageBox.Show("注意此功能仅作用与本地数据库(Dispensing)对于远端数据库的操作可能失败如果需要继续操作单击确定", "SQL", MessageBoxButton.OK, MessageBoxImage.Exclamation); //连接失败提示
WindowStartupLocation = WindowStartupLocation.CenterScreen;
InitializeComponent();
this.Closing += Window_Closing; //添加窗口关闭事件
@@ -270,25 +269,6 @@ namespace formula_manage.Windows
System.Windows.MessageBox.Show("还原失败");
}
}
/* if ((bool)SQL_bak.IsChecked)
{
ok = Backup(SQLNAME, SQL_DISPEN_bak.Text + "\\" + SQLNAME + ".bak"); //指定地址备份
}
else
{
ok = Backup(SQLNAME, Convert.ToString(Environment.SpecialFolder.MyDocuments) + SQLNAME + ".bak"); //默认备份到文档文件夹
}
if (ok)
{
System.Windows.MessageBox.Show("还原成功");
}
else
{
System.Windows.MessageBox.Show("还原失败");
} */
}
}