diff --git a/Audit.csproj b/Audit.csproj
index 8d14af5..a04255e 100644
--- a/Audit.csproj
+++ b/Audit.csproj
@@ -156,8 +156,8 @@
LogWindow.xaml
-
- Set_up.xaml
+
+ Set_up_Sql.xaml
MSBuild:Compile
@@ -191,7 +191,7 @@
Designer
MSBuild:Compile
-
+
Designer
MSBuild:Compile
diff --git a/Windows/LogWindow.xaml.cs b/Windows/LogWindow.xaml.cs
index adab2d9..8d2e1a1 100644
--- a/Windows/LogWindow.xaml.cs
+++ b/Windows/LogWindow.xaml.cs
@@ -55,10 +55,10 @@ namespace Audit.Windows
string Passwds = this.Passwds.Text;
if (users == "sunlight")//内置账号
{
- if (Passwds == "setup")//设置页面判断
+ if (Passwds == "sql")//数据库设置页面判断
{
- MessageBox.Show("警告:进入设置模式请您明确操作目的及可能需承担的后果");
- Windows.Set_up setup = new Windows.Set_up();
+ MessageBox.Show("警告:进入数据库设置模式请您明确操作目的及可能需承担的后果");
+ Windows.Set_up_Sql setup = new Windows.Set_up_Sql();
setup.Show();//实例化并打开设置窗口
this.Close();//关闭当前窗口
}
diff --git a/Windows/Set_up.xaml b/Windows/Set_up_Sql.xaml
similarity index 98%
rename from Windows/Set_up.xaml
rename to Windows/Set_up_Sql.xaml
index 5843f90..2b087bf 100644
--- a/Windows/Set_up.xaml
+++ b/Windows/Set_up_Sql.xaml
@@ -1,4 +1,4 @@
-
/// Set_up.xaml 的交互逻辑
///
- public partial class Set_up : MetroWindow
+ public partial class Set_up_Sql : MetroWindow
{
///
/// Set_up
///
- public Set_up()
+ public Set_up_Sql()
{
InitializeComponent();
}