Merge branch 'master' of http://www.scserverddns.top:13000/sc/formula_manage
This commit is contained in:
commit
1bfbd9cc8d
3 files changed
+9
-25
No files matched your search
@@ -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("还原失败");
|
||||
} */
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user