diff --git a/Audit.csproj b/Audit.csproj
index 00f8158..d2746f7 100644
--- a/Audit.csproj
+++ b/Audit.csproj
@@ -79,6 +79,9 @@
false
+
+ Logo\SUNLIGHT.ico
+
packages\CommonServiceLocator.2.0.6\lib\net48\CommonServiceLocator.dll
@@ -140,6 +143,9 @@
+
+ help.xaml
+
LogWindow.xaml
@@ -162,6 +168,10 @@
Designer
MSBuild:Compile
+
+ Designer
+ MSBuild:Compile
+
Designer
MSBuild:Compile
@@ -260,9 +270,11 @@
+
+
diff --git a/Logo/SUNLIGHT.ico b/Logo/SUNLIGHT.ico
new file mode 100644
index 0000000..2e138f4
Binary files /dev/null and b/Logo/SUNLIGHT.ico differ
diff --git a/Logo/sunlight_sc.png b/Logo/sunlight_sc.png
new file mode 100644
index 0000000..5165ad8
Binary files /dev/null and b/Logo/sunlight_sc.png differ
diff --git a/MainWindow.xaml b/MainWindow.xaml
index 285a4ac..b074c20 100644
--- a/MainWindow.xaml
+++ b/MainWindow.xaml
@@ -61,8 +61,8 @@
-
+
+ Background="#FFCCCCCC" Style="{DynamicResource RadioButtonStyle}" Checked="exit"/>
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/MainWindow.xaml.cs b/MainWindow.xaml.cs
index 681228c..3336077 100644
--- a/MainWindow.xaml.cs
+++ b/MainWindow.xaml.cs
@@ -34,9 +34,15 @@ namespace Audit
}
- private void RadioButton_Checked(object sender, RoutedEventArgs e)
+ private void exit(object sender, RoutedEventArgs e)
{
Application.Current.Shutdown();//关闭窗口
}
+
+ private void help(object sender, RoutedEventArgs e)
+ {
+ Windows.help help= new Windows.help();
+ help.Show();//实例化并打开帮助窗口
+ }
}
}
diff --git a/Windows/help.xaml b/Windows/help.xaml
new file mode 100644
index 0000000..da54395
--- /dev/null
+++ b/Windows/help.xaml
@@ -0,0 +1,22 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Windows/help.xaml.cs b/Windows/help.xaml.cs
new file mode 100644
index 0000000..4277d8c
--- /dev/null
+++ b/Windows/help.xaml.cs
@@ -0,0 +1,30 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Input;
+using System.Windows.Media;
+using System.Windows.Media.Imaging;
+using System.Windows.Shapes;
+
+namespace Audit.Windows
+{
+ ///
+ /// help.xaml 的交互逻辑
+ ///
+ public partial class help : Window
+ {
+ ///
+ /// help
+ ///
+ public help()
+ {
+ InitializeComponent();
+ }
+ }
+}