From 5432e2abea6ae760de3f9deff94cc09ac97a41ab Mon Sep 17 00:00:00 2001
From: cloud301530 <2690004082@qq.com>
Date: Thu, 19 Dec 2024 20:40:38 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=AE=B0=E4=BD=8F=E7=99=BB?=
=?UTF-8?q?=E5=BD=95=E7=9A=84=E7=BC=BA=E9=99=B7?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/PBAnaly/LoginCommon/LastLogin.cs | 2 +-
src/PBAnaly/LoginCommon/LoginForm.cs | 4 +-
src/PBAnaly/LoginCommon/UserManage.cs | 83 +++--
src/PBAnaly/PBAnaly.csproj | 11 +
src/PBAnaly/Properties/Resources.Designer.cs | 20 +
src/PBAnaly/Properties/Resources.resx | 88 +++--
src/PBAnaly/Resources/最大化white.png | Bin 0 -> 2841 bytes
src/PBAnaly/Resources/最小化white.png | Bin 0 -> 2814 bytes
src/PBAnaly/UI/SystemSettingForm.Designer.cs | 373 +++++++++++++++++++
src/PBAnaly/UI/SystemSettingForm.cs | 20 +
src/PBAnaly/UI/SystemSettingForm.resx | 135 +++++++
11 files changed, 670 insertions(+), 66 deletions(-)
create mode 100644 src/PBAnaly/Resources/最大化white.png
create mode 100644 src/PBAnaly/Resources/最小化white.png
create mode 100644 src/PBAnaly/UI/SystemSettingForm.Designer.cs
create mode 100644 src/PBAnaly/UI/SystemSettingForm.cs
create mode 100644 src/PBAnaly/UI/SystemSettingForm.resx
diff --git a/src/PBAnaly/LoginCommon/LastLogin.cs b/src/PBAnaly/LoginCommon/LastLogin.cs
index f2e453d..6ac51c5 100644
--- a/src/PBAnaly/LoginCommon/LastLogin.cs
+++ b/src/PBAnaly/LoginCommon/LastLogin.cs
@@ -26,7 +26,7 @@ namespace PBAnaly.LoginCommon
///
/// 是否记住本次登录信息 1:记住 0:不记住
///
- public int Remember { get; set; }
+ public string Remember { get; set; }
#endregion
}
}
diff --git a/src/PBAnaly/LoginCommon/LoginForm.cs b/src/PBAnaly/LoginCommon/LoginForm.cs
index 687d690..2708927 100644
--- a/src/PBAnaly/LoginCommon/LoginForm.cs
+++ b/src/PBAnaly/LoginCommon/LoginForm.cs
@@ -33,7 +33,7 @@ namespace PBAnaly.LoginCommon
{
foreach (var item in UserManage.LastLoginUser.Values)
{
- if (item.Remember == 1)
+ if (item.Remember == "1")
{
txt_UserName.Text= item.UserName;
txt_Password.Text = item.Password;
@@ -151,7 +151,7 @@ namespace PBAnaly.LoginCommon
{
string UserName = txt_UserName.Text;
string Password = txt_Password.Text;
- int Remember = cb_Remember.Checked ? 1 : 0;
+ string Remember = cb_Remember.Checked ? "1" : "0";
if (string.IsNullOrEmpty(UserName) || string.IsNullOrEmpty(Password))
{
MessageBox.Show("User ID or Password is empty ,Please Check!!", "Login Error");
diff --git a/src/PBAnaly/LoginCommon/UserManage.cs b/src/PBAnaly/LoginCommon/UserManage.cs
index 8cce54b..eeb92bc 100644
--- a/src/PBAnaly/LoginCommon/UserManage.cs
+++ b/src/PBAnaly/LoginCommon/UserManage.cs
@@ -89,6 +89,21 @@ namespace PBAnaly.LoginCommon
Console.WriteLine("表 'User' 已创建。");
}
+ sql = @"
+ CREATE TABLE IF NOT EXISTS last (
+ ID VARCHAR(100) NOT NULL,
+ UserName VARCHAR(200) NOT NULL,
+ Password VARCHAR(2000) NOT NULL,
+ Remember VARCHAR(200) NOT NULL,
+ PRIMARY KEY (ID)
+ );";
+
+ using (var command = new SQLiteCommand(sql, connection))
+ {
+ command.ExecuteNonQuery(); // 执行SQL命令创建表
+ Console.WriteLine("表 'last' 已创建。");
+ }
+
// 插入数据
InsertDefaultUserData(connectionString);
}
@@ -115,30 +130,54 @@ namespace PBAnaly.LoginCommon
///
private static void InsertDefaultUserData(string connectionString)
{
- using (var connection = new SQLiteConnection(connectionString))
+ try
{
- connection.Open();
-
- string insertSQL = @"
- INSERT OR IGNORE INTO User (UserName, Password, CreatedBy, CreatedDate, Role, PasswordQuestion, QuestionAnswer)
- VALUES (@UserName, @Password, @CreatedBy, @CreatedDate, @Role, @PasswordQuestion, @QuestionAnswer);";
-
- using (var command = new SQLiteCommand(insertSQL, connection))
+ using (var connection = new SQLiteConnection(connectionString))
{
- // 参数化查询,防止SQL注入
- command.Parameters.AddWithValue("@UserName", "root");
- command.Parameters.AddWithValue("@Password", "root"); // 示例密码
- command.Parameters.AddWithValue("@CreatedBy", "System");
- command.Parameters.AddWithValue("@CreatedDate", DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss"));
- command.Parameters.AddWithValue("@Role", "Administrator");
- command.Parameters.AddWithValue("@PasswordQuestion", "我的名字");
- command.Parameters.AddWithValue("@QuestionAnswer", "root");
+ connection.Open();
- command.ExecuteNonQuery();
+ string insertSQL = @"
+ INSERT OR IGNORE INTO User (UserName, Password, CreatedBy, CreatedDate, Role, PasswordQuestion, QuestionAnswer)
+ VALUES (@UserName, @Password, @CreatedBy, @CreatedDate, @Role, @PasswordQuestion, @QuestionAnswer);";
+
+ using (var command = new SQLiteCommand(insertSQL, connection))
+ {
+ // 参数化查询,防止SQL注入
+ command.Parameters.AddWithValue("@UserName", "root");
+ command.Parameters.AddWithValue("@Password", "root"); // 示例密码
+ command.Parameters.AddWithValue("@CreatedBy", "System");
+ command.Parameters.AddWithValue("@CreatedDate", DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss"));
+ command.Parameters.AddWithValue("@Role", "Administrator");
+ command.Parameters.AddWithValue("@PasswordQuestion", "我的名字");
+ command.Parameters.AddWithValue("@QuestionAnswer", "root");
+
+ command.ExecuteNonQuery();
+ }
+
+ string insertLast = @"
+ INSERT OR IGNORE INTO last (ID,UserName, Password, Remember)
+ VALUES (@ID,@UserName, @Password, @Remember);";
+
+ using (var command = new SQLiteCommand(insertLast, connection))
+ {
+ // 参数化查询,防止SQL注入
+ command.Parameters.AddWithValue("@ID", "1");
+ command.Parameters.AddWithValue("@UserName", "root");
+ command.Parameters.AddWithValue("@Password", "root"); // 示例密码
+ command.Parameters.AddWithValue("@Remember", "0");
+
+
+ command.ExecuteNonQuery();
+ }
+
+ connection.Close();
}
-
- connection.Close();
}
+ catch (Exception)
+ {
+
+ }
+
}
#endregion
@@ -212,7 +251,7 @@ namespace PBAnaly.LoginCommon
LastLogin last = new LastLogin();
last.UserName = row["UserName"].ToString();
last.Password = row["Password"].ToString();
- last.Remember = int.Parse(row["Remember"].ToString());
+ last.Remember = row["Remember"].ToString();
LastLoginUser.Add(last.UserName, last);
}
}
@@ -237,7 +276,7 @@ namespace PBAnaly.LoginCommon
///
///
///
- public static void UpDateLastUser(string UserName,string Password,int Remember)
+ public static void UpDateLastUser(string UserName,string Password,string Remember)
{
try
{
@@ -254,7 +293,7 @@ namespace PBAnaly.LoginCommon
cmd.Parameters.AddWithValue("@UserName", UserName);
cmd.Parameters.AddWithValue("@Password", Password);
cmd.Parameters.AddWithValue("@Remember", Remember);
- cmd.Parameters.AddWithValue("@ID", 1);
+ cmd.Parameters.AddWithValue("@ID", "1");
// 执行更新命令
int rowsAffected = cmd.ExecuteNonQuery();
diff --git a/src/PBAnaly/PBAnaly.csproj b/src/PBAnaly/PBAnaly.csproj
index 8bcbce7..142bfe7 100644
--- a/src/PBAnaly/PBAnaly.csproj
+++ b/src/PBAnaly/PBAnaly.csproj
@@ -165,6 +165,12 @@
SizeForm.cs
+
+ Form
+
+
+ SystemSettingForm.cs
+
DataProcessForm.cs
@@ -232,6 +238,9 @@
SizeForm.cs
+
+ SystemSettingForm.cs
+
SettingsSingleFileGenerator
@@ -421,6 +430,8 @@
+
+
diff --git a/src/PBAnaly/Properties/Resources.Designer.cs b/src/PBAnaly/Properties/Resources.Designer.cs
index 166c7a0..b8e58a6 100644
--- a/src/PBAnaly/Properties/Resources.Designer.cs
+++ b/src/PBAnaly/Properties/Resources.Designer.cs
@@ -500,6 +500,26 @@ namespace PBAnaly.Properties {
}
}
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap 最大化white {
+ get {
+ object obj = ResourceManager.GetObject("最大化white", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ ///
+ /// 查找 System.Drawing.Bitmap 类型的本地化资源。
+ ///
+ internal static System.Drawing.Bitmap 最小化white {
+ get {
+ object obj = ResourceManager.GetObject("最小化white", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
///
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
///
diff --git a/src/PBAnaly/Properties/Resources.resx b/src/PBAnaly/Properties/Resources.resx
index f4db092..019f31c 100644
--- a/src/PBAnaly/Properties/Resources.resx
+++ b/src/PBAnaly/Properties/Resources.resx
@@ -130,23 +130,23 @@
..\Resources\yto-icon-X-transit_time.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
- ..\Resources\数据报告.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\Resources\关闭White.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
..\Resources\EtBr_1.bmp;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\Resources\壁纸.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\Gray.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
..\Resources\保存图片.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
- ..\Resources\线段.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
-
- ..\Resources\YellowHot_1.bmp;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
-
- ..\Resources\Black_Green_0.bmp;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\Resources\蛋白质-01.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
..\Resources\Black_Green_1.bmp;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
@@ -154,9 +154,6 @@
..\Resources\Black_Red_1.bmp;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
- ..\Resources\前台.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
..\Resources\保存.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
@@ -175,12 +172,12 @@
..\Resources\波形设置-未选中.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\Resources\主页面-图像编辑-正反片.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
..\Resources\Black_Blue_1.bmp;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
- ..\Resources\zoom-in.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
..\Resources\数据报告 (1).png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
@@ -190,8 +187,8 @@
..\Resources\圖片_20240731174523.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
- ..\Resources\重置.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\Resources\图片管理.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
..\Resources\Black_Red_0.bmp;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
@@ -199,9 +196,6 @@
..\Resources\京仪科技定稿_画板 1 副本2.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
- ..\Resources\分析.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
..\Resources\zoom-out.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
@@ -211,8 +205,11 @@
..\Resources\风控.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
- ..\Resources\饼干.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\Resources\Black_SDS_1.bmp;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\分析.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
..\Resources\控制窗口.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
@@ -241,14 +238,20 @@
..\Resources\C.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
- ..\Resources\图片管理.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\Resources\前台.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
..\Resources\圆形.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
- ..\Resources\主页面-图像编辑-正反片.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\Resources\執行日誌紀錄.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\圆形.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\Black_Green_0.bmp;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
..\Resources\缩小.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
@@ -262,8 +265,8 @@
..\Resources\Pseudo_1.bmp;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
- ..\Resources\Gray.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\Resources\线段.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
..\Resources\10矩形.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
@@ -271,23 +274,23 @@
..\Resources\线段 (1).png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
- ..\Resources\執行日誌紀錄.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\Resources\YellowHot_1.bmp;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
- ..\Resources\蛋白质-01.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\Resources\饼干.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
- ..\Resources\壁纸.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\Resources\数据报告.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
- ..\Resources\圆形.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\Resources\zoom-in.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
..\Resources\黑白平衡.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
- ..\Resources\Black_SDS_1.bmp;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\Resources\重置.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
..\Resources\放大.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
@@ -295,7 +298,10 @@
..\Resources\波形图.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
- ..\Resources\关闭White.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\Resources\最大化white.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\最小化white.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
\ No newline at end of file
diff --git a/src/PBAnaly/Resources/最大化white.png b/src/PBAnaly/Resources/最大化white.png
new file mode 100644
index 0000000000000000000000000000000000000000..db25a1099843930fb2c9a725af9b3872f6c271ce
GIT binary patch
literal 2841
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
literal 0
HcmV?d00001
diff --git a/src/PBAnaly/Resources/最小化white.png b/src/PBAnaly/Resources/最小化white.png
new file mode 100644
index 0000000000000000000000000000000000000000..9dce8d691ee3553675d99fcdc30e50b96b3d7655
GIT binary patch
literal 2814
zcmVKLZ*U+5Lu!Sk^o_Z5E4Meg@_7P6crJiNL9pw)e1;Xm069{HJUZAPk55R%$-RIA
z6-eL&AQ0xu!e<4=008gy@A0LT~suv4>S3ILP<0Bm`DLLvaF4FK%)Nj?Pt*r}7;7Xa9z9H|HZjR63e
zC`Tj$K)V27Re@400>HumpsYY5E(E}?0f1SyGDiY{y#)Yvj#!WnKwtoXnL;eg03bL5
z07D)V%>y7z1E4U{zu>7~aD})?0RX_umCct+(lZpemCzb@^6=o|A>zVpu|i=NDG+7}
zl4`aK{0#b-!z=TL9Wt0BGO&T{GJWpjryhdijfaIQ&2!o}p04JRKYg3k&Tf
zVxhe-O!X
z{f;To;xw^bEES6JSc$k$B2CA6xl)ltA<32E66t?3@gJ7`36pmX0IY^jz)rRYwaaY4
ze(nJRiw;=Qb^t(r^DT@T3y}a2XEZW-_W%Hszxj_qD**t_m!#tW0KDiJT&R>6OvVTR
z07RgHDzHHZ48atvzz&?j9lXF70$~P3Knx_nJP<+#`N
z#-MZ2bTkiLfR>_b(HgWKJ%F~Nr_oF3b#wrIijHG|(J>BYjM-sajE6;FiC7vY#};Gd
zST$CUHDeuEH+B^pz@B062qXfFfD`NpUW5?BY=V%GM_5c)L#QR}BeW8_2v-S%gfYS=
zB9o|3v?Y2H`NVi)In3rTB8+ej^>
zQ=~r95NVuDChL%G$=>7$vVg20myx%S50Foi`^m%Pw-h?Xh~i8Mq9jtJloCocWk2Nv
zrJpiFnV_ms&8eQ$2WpIS+6pmtC%Q-`S&GF4Q#^mhymh7E(qNMa}%YZ-ePrx>>xFPTiH1=E+A$W$=bG8>s^
zm=Bn5Rah$aDtr}@$`X}2l~$F0mFKEdRdZE8)p@E5RI61Ft6o-prbbn>P~)iy)E2AN
zsU20jsWz_8Qg>31P|s0cqrPALg8E|(vWA65poU1JRAaZs8I2(p#xiB`SVGovRs-uS
zYnV-9TeA7=Om+qP8+I>yOjAR1s%ETak!GFdam@h^#
z)@rS0t$wXH+Irf)+G6c;?H29p+V6F6oj{!|o%K3xI`?%6x;DB|x`n#ibhIR?(H}Q3Gzd138Ei2)WAMz7W9Vy`X}HnwgyEn!VS)>mv$8&{hQn>w4zwy3R}t;BYlZQm5)6pty=DfLrs+A-|>>;~;Q
z_F?uV_HFjh9n2gO9o9Q^JA86v({H5aB!kjoO6
zc9$1ZZKsN-Zl8L~mE{`ly3)1N^`o1+o7}D0ZPeY&J;i;i`%NyJ8_8Y6J?}yE@b_5a
zam?eLr<8@mESk|3$_SkmS{wQ>%qC18))9_|&j{ZT
zes8AvOzF(F2#DZEY>2oYX&IRp`F#{ADl)1r>QS^)ba8a|EY_^#S^HO&t^Rgqwv=MZThqqEWH8
zxJo>d=ABlR_Bh=;eM9Tw|Ih34~oTE|=
zX_mAr*D$vzw@+p(E0Yc6dFE}(8oqt`+R{gE3x4zjX+Sb3_cYE^=
zgB=w+-tUy`ytONMS8KgRef4hA?t0j
zufM;t32jm~jUGrkaOInTZ`zyfns>EuS}G30LFK_G-==(f<51|K&cocp&EJ`SxAh3?
zNO>#LI=^+SEu(FqJ)ynt=!~PC9bO$rzPJB=?=j6w@a-(u02P7
zaQ)#(uUl{HW%tYNS3ItC^iAtK(eKlL`f9+{bJzISE?u8_z3;~C8@FyI-5j_jy7l;W
z_U#vU3hqqYU3!mrul&B+{ptt$59)uk{;_4iZQ%G|z+lhASr6|H35TBkl>gI*;nGLU
zN7W-nBaM%pA0HbH8olyl&XeJ%vZoWz%6?Y=dFykl=imL}`%BMQ{Mhgd`HRoLu6e2R
za__6DuR6yg#~-}Tc|Gx_{H@O0eebyMy5GmWADJlpK>kqk(fVV@r_fLLKIeS?{4e)}
z^ZO;zpECde03c&XQcVB=dL;k=fP(-4`Tqa_faw4Lbua(`>RI+y?e7jKeZ#YO-C
z04qsEK~#9!V)+06KLa%|!>B;M1&07*qoM6N<$g178jUH||9
literal 0
HcmV?d00001
diff --git a/src/PBAnaly/UI/SystemSettingForm.Designer.cs b/src/PBAnaly/UI/SystemSettingForm.Designer.cs
new file mode 100644
index 0000000..e38385d
--- /dev/null
+++ b/src/PBAnaly/UI/SystemSettingForm.Designer.cs
@@ -0,0 +1,373 @@
+namespace PBAnaly.UI
+{
+ partial class SystemSettingForm
+ {
+ ///
+ /// Required designer variable.
+ ///
+ private System.ComponentModel.IContainer components = null;
+
+ ///
+ /// Clean up any resources being used.
+ ///
+ /// true if managed resources should be disposed; otherwise, false.
+ protected override void Dispose(bool disposing)
+ {
+ if (disposing && (components != null))
+ {
+ components.Dispose();
+ }
+ base.Dispose(disposing);
+ }
+
+ #region Windows Form Designer generated code
+
+ ///
+ /// Required method for Designer support - do not modify
+ /// the contents of this method with the code editor.
+ ///
+ private void InitializeComponent()
+ {
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle();
+ this.panel1 = new System.Windows.Forms.Panel();
+ this.panel_mode = new System.Windows.Forms.Panel();
+ this.tabMain = new System.Windows.Forms.TabControl();
+ this.tab_UserManage = new System.Windows.Forms.TabPage();
+ this.pnlMainMenu = new System.Windows.Forms.Panel();
+ this.btn_ConfigManage = new System.Windows.Forms.Button();
+ this.btn_ComManage = new System.Windows.Forms.Button();
+ this.btn_FormatManage = new System.Windows.Forms.Button();
+ this.btn_ReadManage = new System.Windows.Forms.Button();
+ this.label4 = new System.Windows.Forms.Label();
+ this.btn_Min = new System.Windows.Forms.Button();
+ this.btn_Max = new System.Windows.Forms.Button();
+ this.btn_Close = new System.Windows.Forms.Button();
+ this.splitContainer1 = new System.Windows.Forms.SplitContainer();
+ this.dataGridView1 = new System.Windows.Forms.DataGridView();
+ this.Column1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.Column2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.Column5 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.Column3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.Column4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.panel1.SuspendLayout();
+ this.panel_mode.SuspendLayout();
+ this.tabMain.SuspendLayout();
+ this.tab_UserManage.SuspendLayout();
+ this.pnlMainMenu.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
+ this.splitContainer1.Panel1.SuspendLayout();
+ this.splitContainer1.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
+ this.SuspendLayout();
+ //
+ // panel1
+ //
+ this.panel1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
+ | System.Windows.Forms.AnchorStyles.Left)
+ | System.Windows.Forms.AnchorStyles.Right)));
+ this.panel1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(50)))), ((int)(((byte)(50)))), ((int)(((byte)(50)))));
+ this.panel1.Controls.Add(this.panel_mode);
+ this.panel1.Controls.Add(this.pnlMainMenu);
+ this.panel1.Location = new System.Drawing.Point(-1, 31);
+ this.panel1.Name = "panel1";
+ this.panel1.Size = new System.Drawing.Size(1159, 642);
+ this.panel1.TabIndex = 455;
+ //
+ // panel_mode
+ //
+ this.panel_mode.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
+ | System.Windows.Forms.AnchorStyles.Left)
+ | System.Windows.Forms.AnchorStyles.Right)));
+ this.panel_mode.BackColor = System.Drawing.SystemColors.Control;
+ this.panel_mode.Controls.Add(this.tabMain);
+ this.panel_mode.Location = new System.Drawing.Point(50, 0);
+ this.panel_mode.Name = "panel_mode";
+ this.panel_mode.Size = new System.Drawing.Size(1106, 639);
+ this.panel_mode.TabIndex = 444;
+ //
+ // tabMain
+ //
+ this.tabMain.Alignment = System.Windows.Forms.TabAlignment.Left;
+ this.tabMain.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
+ | System.Windows.Forms.AnchorStyles.Left)
+ | System.Windows.Forms.AnchorStyles.Right)));
+ this.tabMain.Controls.Add(this.tab_UserManage);
+ this.tabMain.Location = new System.Drawing.Point(0, -3);
+ this.tabMain.Multiline = true;
+ this.tabMain.Name = "tabMain";
+ this.tabMain.SelectedIndex = 0;
+ this.tabMain.Size = new System.Drawing.Size(1114, 651);
+ this.tabMain.TabIndex = 0;
+ //
+ // tab_UserManage
+ //
+ this.tab_UserManage.BackColor = System.Drawing.Color.White;
+ this.tab_UserManage.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
+ this.tab_UserManage.Controls.Add(this.splitContainer1);
+ this.tab_UserManage.Location = new System.Drawing.Point(22, 4);
+ this.tab_UserManage.Name = "tab_UserManage";
+ this.tab_UserManage.Padding = new System.Windows.Forms.Padding(3);
+ this.tab_UserManage.Size = new System.Drawing.Size(1088, 643);
+ this.tab_UserManage.TabIndex = 0;
+ this.tab_UserManage.Text = "用户管理";
+ //
+ // pnlMainMenu
+ //
+ this.pnlMainMenu.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
+ | System.Windows.Forms.AnchorStyles.Left)));
+ this.pnlMainMenu.BackColor = System.Drawing.Color.White;
+ this.pnlMainMenu.Controls.Add(this.btn_ConfigManage);
+ this.pnlMainMenu.Controls.Add(this.btn_ComManage);
+ this.pnlMainMenu.Controls.Add(this.btn_FormatManage);
+ this.pnlMainMenu.Controls.Add(this.btn_ReadManage);
+ this.pnlMainMenu.Location = new System.Drawing.Point(3, 3);
+ this.pnlMainMenu.Name = "pnlMainMenu";
+ this.pnlMainMenu.Size = new System.Drawing.Size(77, 636);
+ this.pnlMainMenu.TabIndex = 443;
+ //
+ // btn_ConfigManage
+ //
+ this.btn_ConfigManage.BackColor = System.Drawing.Color.White;
+ this.btn_ConfigManage.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
+ this.btn_ConfigManage.Font = new System.Drawing.Font("宋体", 9F);
+ this.btn_ConfigManage.Location = new System.Drawing.Point(3, 279);
+ this.btn_ConfigManage.Name = "btn_ConfigManage";
+ this.btn_ConfigManage.Size = new System.Drawing.Size(76, 86);
+ this.btn_ConfigManage.TabIndex = 6;
+ this.btn_ConfigManage.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
+ this.btn_ConfigManage.UseVisualStyleBackColor = false;
+ //
+ // btn_ComManage
+ //
+ this.btn_ComManage.BackColor = System.Drawing.Color.White;
+ this.btn_ComManage.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
+ this.btn_ComManage.Font = new System.Drawing.Font("宋体", 9F);
+ this.btn_ComManage.Location = new System.Drawing.Point(3, 187);
+ this.btn_ComManage.Name = "btn_ComManage";
+ this.btn_ComManage.Size = new System.Drawing.Size(76, 86);
+ this.btn_ComManage.TabIndex = 5;
+ this.btn_ComManage.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
+ this.btn_ComManage.UseVisualStyleBackColor = false;
+ //
+ // btn_FormatManage
+ //
+ this.btn_FormatManage.BackColor = System.Drawing.Color.White;
+ this.btn_FormatManage.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
+ this.btn_FormatManage.Font = new System.Drawing.Font("宋体", 9F);
+ this.btn_FormatManage.Location = new System.Drawing.Point(3, 95);
+ this.btn_FormatManage.Name = "btn_FormatManage";
+ this.btn_FormatManage.Size = new System.Drawing.Size(76, 86);
+ this.btn_FormatManage.TabIndex = 4;
+ this.btn_FormatManage.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
+ this.btn_FormatManage.UseVisualStyleBackColor = false;
+ //
+ // btn_ReadManage
+ //
+ this.btn_ReadManage.BackColor = System.Drawing.Color.White;
+ this.btn_ReadManage.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
+ this.btn_ReadManage.Font = new System.Drawing.Font("宋体", 9F);
+ this.btn_ReadManage.Location = new System.Drawing.Point(3, 3);
+ this.btn_ReadManage.Name = "btn_ReadManage";
+ this.btn_ReadManage.Size = new System.Drawing.Size(76, 86);
+ this.btn_ReadManage.TabIndex = 3;
+ this.btn_ReadManage.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
+ this.btn_ReadManage.UseVisualStyleBackColor = false;
+ //
+ // label4
+ //
+ this.label4.AutoSize = true;
+ this.label4.Font = new System.Drawing.Font("微软雅黑", 13F, System.Drawing.FontStyle.Bold);
+ this.label4.ForeColor = System.Drawing.Color.White;
+ this.label4.Location = new System.Drawing.Point(12, 3);
+ this.label4.Name = "label4";
+ this.label4.Size = new System.Drawing.Size(81, 25);
+ this.label4.TabIndex = 456;
+ this.label4.Text = "register";
+ //
+ // btn_Min
+ //
+ this.btn_Min.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
+ this.btn_Min.BackColor = System.Drawing.Color.Transparent;
+ this.btn_Min.FlatAppearance.BorderSize = 0;
+ this.btn_Min.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
+ this.btn_Min.ForeColor = System.Drawing.Color.Transparent;
+ this.btn_Min.Image = global::PBAnaly.Properties.Resources.最小化white;
+ this.btn_Min.Location = new System.Drawing.Point(1014, 0);
+ this.btn_Min.Name = "btn_Min";
+ this.btn_Min.Size = new System.Drawing.Size(44, 32);
+ this.btn_Min.TabIndex = 459;
+ this.btn_Min.UseVisualStyleBackColor = false;
+ //
+ // btn_Max
+ //
+ this.btn_Max.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
+ this.btn_Max.BackColor = System.Drawing.Color.Transparent;
+ this.btn_Max.FlatAppearance.BorderSize = 0;
+ this.btn_Max.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
+ this.btn_Max.ForeColor = System.Drawing.Color.Transparent;
+ this.btn_Max.Image = global::PBAnaly.Properties.Resources.最大化white;
+ this.btn_Max.Location = new System.Drawing.Point(1064, 0);
+ this.btn_Max.Name = "btn_Max";
+ this.btn_Max.Size = new System.Drawing.Size(44, 32);
+ this.btn_Max.TabIndex = 458;
+ this.btn_Max.UseVisualStyleBackColor = false;
+ //
+ // btn_Close
+ //
+ this.btn_Close.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
+ this.btn_Close.BackColor = System.Drawing.Color.Transparent;
+ this.btn_Close.FlatAppearance.BorderSize = 0;
+ this.btn_Close.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
+ this.btn_Close.ForeColor = System.Drawing.Color.Transparent;
+ this.btn_Close.Image = global::PBAnaly.Properties.Resources.关闭White;
+ this.btn_Close.Location = new System.Drawing.Point(1114, 0);
+ this.btn_Close.Name = "btn_Close";
+ this.btn_Close.Size = new System.Drawing.Size(44, 32);
+ this.btn_Close.TabIndex = 457;
+ this.btn_Close.UseVisualStyleBackColor = false;
+ //
+ // splitContainer1
+ //
+ this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.splitContainer1.Location = new System.Drawing.Point(3, 3);
+ this.splitContainer1.Name = "splitContainer1";
+ //
+ // splitContainer1.Panel1
+ //
+ this.splitContainer1.Panel1.Controls.Add(this.dataGridView1);
+ this.splitContainer1.Size = new System.Drawing.Size(1082, 637);
+ this.splitContainer1.SplitterDistance = 562;
+ this.splitContainer1.TabIndex = 0;
+ //
+ // dataGridView1
+ //
+ this.dataGridView1.AllowUserToAddRows = false;
+ this.dataGridView1.AllowUserToDeleteRows = false;
+ this.dataGridView1.AllowUserToResizeColumns = false;
+ this.dataGridView1.AllowUserToResizeRows = false;
+ this.dataGridView1.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
+ this.dataGridView1.BackgroundColor = System.Drawing.Color.White;
+ dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+ dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Control;
+ dataGridViewCellStyle1.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.WindowText;
+ dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
+ dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
+ dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+ this.dataGridView1.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1;
+ this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
+ this.dataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
+ this.Column1,
+ this.Column2,
+ this.Column5,
+ this.Column3,
+ this.Column4});
+ this.dataGridView1.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.dataGridView1.Location = new System.Drawing.Point(0, 0);
+ this.dataGridView1.MultiSelect = false;
+ this.dataGridView1.Name = "dataGridView1";
+ this.dataGridView1.ReadOnly = true;
+ this.dataGridView1.RowHeadersVisible = false;
+ this.dataGridView1.RowTemplate.Height = 23;
+ this.dataGridView1.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
+ this.dataGridView1.Size = new System.Drawing.Size(562, 637);
+ this.dataGridView1.TabIndex = 496;
+ //
+ // Column1
+ //
+ dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+ this.Column1.DefaultCellStyle = dataGridViewCellStyle2;
+ this.Column1.HeaderText = "序号";
+ this.Column1.Name = "Column1";
+ this.Column1.ReadOnly = true;
+ this.Column1.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+ //
+ // Column2
+ //
+ dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+ this.Column2.DefaultCellStyle = dataGridViewCellStyle3;
+ this.Column2.HeaderText = "用户名";
+ this.Column2.Name = "Column2";
+ this.Column2.ReadOnly = true;
+ this.Column2.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+ //
+ // Column5
+ //
+ this.Column5.HeaderText = "创建人";
+ this.Column5.Name = "Column5";
+ this.Column5.ReadOnly = true;
+ //
+ // Column3
+ //
+ dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+ this.Column3.DefaultCellStyle = dataGridViewCellStyle4;
+ this.Column3.HeaderText = "创建时间";
+ this.Column3.Name = "Column3";
+ this.Column3.ReadOnly = true;
+ this.Column3.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+ //
+ // Column4
+ //
+ dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+ this.Column4.DefaultCellStyle = dataGridViewCellStyle5;
+ this.Column4.HeaderText = "权限";
+ this.Column4.Name = "Column4";
+ this.Column4.ReadOnly = true;
+ this.Column4.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
+ //
+ // SystemSettingForm
+ //
+ this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(55)))), ((int)(((byte)(71)))), ((int)(((byte)(79)))));
+ this.ClientSize = new System.Drawing.Size(1158, 675);
+ this.Controls.Add(this.btn_Min);
+ this.Controls.Add(this.btn_Max);
+ this.Controls.Add(this.btn_Close);
+ this.Controls.Add(this.panel1);
+ this.Controls.Add(this.label4);
+ this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
+ this.Name = "SystemSettingForm";
+ this.Text = "SystemSettingForm";
+ this.panel1.ResumeLayout(false);
+ this.panel_mode.ResumeLayout(false);
+ this.tabMain.ResumeLayout(false);
+ this.tab_UserManage.ResumeLayout(false);
+ this.pnlMainMenu.ResumeLayout(false);
+ this.splitContainer1.Panel1.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit();
+ this.splitContainer1.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();
+ this.ResumeLayout(false);
+ this.PerformLayout();
+
+ }
+
+ #endregion
+
+ private System.Windows.Forms.Panel panel1;
+ private System.Windows.Forms.Label label4;
+ private System.Windows.Forms.Button btn_Close;
+ private System.Windows.Forms.Button btn_Max;
+ private System.Windows.Forms.Button btn_Min;
+ private System.Windows.Forms.Panel pnlMainMenu;
+ private System.Windows.Forms.Button btn_ConfigManage;
+ private System.Windows.Forms.Button btn_ComManage;
+ private System.Windows.Forms.Button btn_FormatManage;
+ private System.Windows.Forms.Button btn_ReadManage;
+ private System.Windows.Forms.Panel panel_mode;
+ private System.Windows.Forms.TabControl tabMain;
+ private System.Windows.Forms.TabPage tab_UserManage;
+ private System.Windows.Forms.SplitContainer splitContainer1;
+ private System.Windows.Forms.DataGridView dataGridView1;
+ private System.Windows.Forms.DataGridViewTextBoxColumn Column1;
+ private System.Windows.Forms.DataGridViewTextBoxColumn Column2;
+ private System.Windows.Forms.DataGridViewTextBoxColumn Column5;
+ private System.Windows.Forms.DataGridViewTextBoxColumn Column3;
+ private System.Windows.Forms.DataGridViewTextBoxColumn Column4;
+ }
+}
\ No newline at end of file
diff --git a/src/PBAnaly/UI/SystemSettingForm.cs b/src/PBAnaly/UI/SystemSettingForm.cs
new file mode 100644
index 0000000..62b43d5
--- /dev/null
+++ b/src/PBAnaly/UI/SystemSettingForm.cs
@@ -0,0 +1,20 @@
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Data;
+using System.Drawing;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Windows.Forms;
+
+namespace PBAnaly.UI
+{
+ public partial class SystemSettingForm : Form
+ {
+ public SystemSettingForm()
+ {
+ InitializeComponent();
+ }
+ }
+}
diff --git a/src/PBAnaly/UI/SystemSettingForm.resx b/src/PBAnaly/UI/SystemSettingForm.resx
new file mode 100644
index 0000000..0a44728
--- /dev/null
+++ b/src/PBAnaly/UI/SystemSettingForm.resx
@@ -0,0 +1,135 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
\ No newline at end of file