修复记住登录的缺陷

This commit is contained in:
cloud301530 2024-12-19 20:40:38 +08:00
parent cf5ad0bdc0
commit 5432e2abea
11 changed files with 670 additions and 66 deletions

View File

@ -26,7 +26,7 @@ namespace PBAnaly.LoginCommon
/// <summary> /// <summary>
/// 是否记住本次登录信息 1记住 0不记住 /// 是否记住本次登录信息 1记住 0不记住
/// </summary> /// </summary>
public int Remember { get; set; } public string Remember { get; set; }
#endregion #endregion
} }
} }

View File

@ -33,7 +33,7 @@ namespace PBAnaly.LoginCommon
{ {
foreach (var item in UserManage.LastLoginUser.Values) foreach (var item in UserManage.LastLoginUser.Values)
{ {
if (item.Remember == 1) if (item.Remember == "1")
{ {
txt_UserName.Text= item.UserName; txt_UserName.Text= item.UserName;
txt_Password.Text = item.Password; txt_Password.Text = item.Password;
@ -151,7 +151,7 @@ namespace PBAnaly.LoginCommon
{ {
string UserName = txt_UserName.Text; string UserName = txt_UserName.Text;
string Password = txt_Password.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)) if (string.IsNullOrEmpty(UserName) || string.IsNullOrEmpty(Password))
{ {
MessageBox.Show("User ID or Password is empty ,Please Check!!", "Login Error"); MessageBox.Show("User ID or Password is empty ,Please Check!!", "Login Error");

View File

@ -89,6 +89,21 @@ namespace PBAnaly.LoginCommon
Console.WriteLine("表 'User' 已创建。"); 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); InsertDefaultUserData(connectionString);
} }
@ -115,30 +130,54 @@ namespace PBAnaly.LoginCommon
/// <param name="connectionString"></param> /// <param name="connectionString"></param>
private static void InsertDefaultUserData(string connectionString) private static void InsertDefaultUserData(string connectionString)
{ {
using (var connection = new SQLiteConnection(connectionString)) try
{ {
connection.Open(); using (var connection = new SQLiteConnection(connectionString))
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注入 connection.Open();
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 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 #endregion
@ -212,7 +251,7 @@ namespace PBAnaly.LoginCommon
LastLogin last = new LastLogin(); LastLogin last = new LastLogin();
last.UserName = row["UserName"].ToString(); last.UserName = row["UserName"].ToString();
last.Password = row["Password"].ToString(); last.Password = row["Password"].ToString();
last.Remember = int.Parse(row["Remember"].ToString()); last.Remember = row["Remember"].ToString();
LastLoginUser.Add(last.UserName, last); LastLoginUser.Add(last.UserName, last);
} }
} }
@ -237,7 +276,7 @@ namespace PBAnaly.LoginCommon
/// <param name="UserName"></param> /// <param name="UserName"></param>
/// <param name="Password"></param> /// <param name="Password"></param>
/// <param name="Remember"></param> /// <param name="Remember"></param>
public static void UpDateLastUser(string UserName,string Password,int Remember) public static void UpDateLastUser(string UserName,string Password,string Remember)
{ {
try try
{ {
@ -254,7 +293,7 @@ namespace PBAnaly.LoginCommon
cmd.Parameters.AddWithValue("@UserName", UserName); cmd.Parameters.AddWithValue("@UserName", UserName);
cmd.Parameters.AddWithValue("@Password", Password); cmd.Parameters.AddWithValue("@Password", Password);
cmd.Parameters.AddWithValue("@Remember", Remember); cmd.Parameters.AddWithValue("@Remember", Remember);
cmd.Parameters.AddWithValue("@ID", 1); cmd.Parameters.AddWithValue("@ID", "1");
// 执行更新命令 // 执行更新命令
int rowsAffected = cmd.ExecuteNonQuery(); int rowsAffected = cmd.ExecuteNonQuery();

View File

@ -165,6 +165,12 @@
<Compile Include="UI\SizeForm.Designer.cs"> <Compile Include="UI\SizeForm.Designer.cs">
<DependentUpon>SizeForm.cs</DependentUpon> <DependentUpon>SizeForm.cs</DependentUpon>
</Compile> </Compile>
<Compile Include="UI\SystemSettingForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="UI\SystemSettingForm.Designer.cs">
<DependentUpon>SystemSettingForm.cs</DependentUpon>
</Compile>
<EmbeddedResource Include="DataProcessForm.resx"> <EmbeddedResource Include="DataProcessForm.resx">
<DependentUpon>DataProcessForm.cs</DependentUpon> <DependentUpon>DataProcessForm.cs</DependentUpon>
</EmbeddedResource> </EmbeddedResource>
@ -232,6 +238,9 @@
<EmbeddedResource Include="UI\SizeForm.resx"> <EmbeddedResource Include="UI\SizeForm.resx">
<DependentUpon>SizeForm.cs</DependentUpon> <DependentUpon>SizeForm.cs</DependentUpon>
</EmbeddedResource> </EmbeddedResource>
<EmbeddedResource Include="UI\SystemSettingForm.resx">
<DependentUpon>SystemSettingForm.cs</DependentUpon>
</EmbeddedResource>
<None Include="packages.config" /> <None Include="packages.config" />
<None Include="Properties\Settings.settings"> <None Include="Properties\Settings.settings">
<Generator>SettingsSingleFileGenerator</Generator> <Generator>SettingsSingleFileGenerator</Generator>
@ -421,6 +430,8 @@
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<Content Include="GS-Analy.ico" /> <Content Include="GS-Analy.ico" />
<None Include="Resources\最小化white.png" />
<None Include="Resources\最大化white.png" />
<None Include="Resources\关闭White.png" /> <None Include="Resources\关闭White.png" />
<None Include="Resources\文本.png" /> <None Include="Resources\文本.png" />
<None Include="Resources\数据报告 %281%29.png" /> <None Include="Resources\数据报告 %281%29.png" />

View File

@ -500,6 +500,26 @@ namespace PBAnaly.Properties {
} }
} }
/// <summary>
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
/// </summary>
internal static System.Drawing.Bitmap white {
get {
object obj = ResourceManager.GetObject("最大化white", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
/// </summary>
internal static System.Drawing.Bitmap white {
get {
object obj = ResourceManager.GetObject("最小化white", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary> /// <summary>
/// 查找 System.Drawing.Bitmap 类型的本地化资源。 /// 查找 System.Drawing.Bitmap 类型的本地化资源。
/// </summary> /// </summary>

View File

@ -130,23 +130,23 @@
<data name="yto-icon-X-transit_time" type="System.Resources.ResXFileRef, System.Windows.Forms"> <data name="yto-icon-X-transit_time" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\yto-icon-X-transit_time.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> <value>..\Resources\yto-icon-X-transit_time.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data> </data>
<data name="数据报告" type="System.Resources.ResXFileRef, System.Windows.Forms"> <data name="关闭White" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\数据报告.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> <value>..\Resources\关闭White.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data> </data>
<data name="EtBr_1" type="System.Resources.ResXFileRef, System.Windows.Forms"> <data name="EtBr_1" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\EtBr_1.bmp;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> <value>..\Resources\EtBr_1.bmp;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data> </data>
<data name="壁纸" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\壁纸.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="Gray" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\Gray.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="保存图片" type="System.Resources.ResXFileRef, System.Windows.Forms"> <data name="保存图片" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\保存图片.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> <value>..\Resources\保存图片.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data> </data>
<data name="线段" type="System.Resources.ResXFileRef, System.Windows.Forms"> <data name="蛋白质-01" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\线段.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> <value>..\Resources\蛋白质-01.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="YellowHot_1" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\YellowHot_1.bmp;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="Black_Green_0" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\Black_Green_0.bmp;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data> </data>
<data name="Black_Green_1" type="System.Resources.ResXFileRef, System.Windows.Forms"> <data name="Black_Green_1" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\Black_Green_1.bmp;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> <value>..\Resources\Black_Green_1.bmp;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
@ -154,9 +154,6 @@
<data name="Black_Red_1" type="System.Resources.ResXFileRef, System.Windows.Forms"> <data name="Black_Red_1" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\Black_Red_1.bmp;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> <value>..\Resources\Black_Red_1.bmp;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data> </data>
<data name="前台" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\前台.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="保存" type="System.Resources.ResXFileRef, System.Windows.Forms"> <data name="保存" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\保存.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> <value>..\Resources\保存.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data> </data>
@ -175,12 +172,12 @@
<data name="波形设置-未选中" type="System.Resources.ResXFileRef, System.Windows.Forms"> <data name="波形设置-未选中" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\波形设置-未选中.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> <value>..\Resources\波形设置-未选中.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data> </data>
<data name="主页面-图像编辑-正反片" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\主页面-图像编辑-正反片.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="Black_Blue_1" type="System.Resources.ResXFileRef, System.Windows.Forms"> <data name="Black_Blue_1" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\Black_Blue_1.bmp;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> <value>..\Resources\Black_Blue_1.bmp;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data> </data>
<data name="zoom-in" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\zoom-in.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="数据报告 (1)" type="System.Resources.ResXFileRef, System.Windows.Forms"> <data name="数据报告 (1)" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\数据报告 (1).png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> <value>..\Resources\数据报告 (1).png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data> </data>
@ -190,8 +187,8 @@
<data name="圖片_20240731174523" type="System.Resources.ResXFileRef, System.Windows.Forms"> <data name="圖片_20240731174523" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\圖片_20240731174523.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> <value>..\Resources\圖片_20240731174523.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data> </data>
<data name="重置" type="System.Resources.ResXFileRef, System.Windows.Forms"> <data name="图片管理" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\重置.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> <value>..\Resources\图片管理.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data> </data>
<data name="Black_Red_0" type="System.Resources.ResXFileRef, System.Windows.Forms"> <data name="Black_Red_0" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\Black_Red_0.bmp;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> <value>..\Resources\Black_Red_0.bmp;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
@ -199,9 +196,6 @@
<data name="京仪科技定稿_画板 1 副本2" type="System.Resources.ResXFileRef, System.Windows.Forms"> <data name="京仪科技定稿_画板 1 副本2" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\京仪科技定稿_画板 1 副本2.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> <value>..\Resources\京仪科技定稿_画板 1 副本2.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data> </data>
<data name="分析" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\分析.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="zoom-out" type="System.Resources.ResXFileRef, System.Windows.Forms"> <data name="zoom-out" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\zoom-out.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> <value>..\Resources\zoom-out.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data> </data>
@ -211,8 +205,11 @@
<data name="风控" type="System.Resources.ResXFileRef, System.Windows.Forms"> <data name="风控" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\风控.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> <value>..\Resources\风控.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data> </data>
<data name="饼干" type="System.Resources.ResXFileRef, System.Windows.Forms"> <data name="Black_SDS_1" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\饼干.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> <value>..\Resources\Black_SDS_1.bmp;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="分析" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\分析.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data> </data>
<data name="控制窗口" type="System.Resources.ResXFileRef, System.Windows.Forms"> <data name="控制窗口" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\控制窗口.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> <value>..\Resources\控制窗口.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
@ -241,14 +238,20 @@
<data name="C" type="System.Resources.ResXFileRef, System.Windows.Forms"> <data name="C" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\C.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> <value>..\Resources\C.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data> </data>
<data name="图片管理" type="System.Resources.ResXFileRef, System.Windows.Forms"> <data name="前台" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\图片管理.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> <value>..\Resources\前台.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data> </data>
<data name="圆形" type="System.Resources.ResXFileRef, System.Windows.Forms"> <data name="圆形" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\圆形.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> <value>..\Resources\圆形.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data> </data>
<data name="主页面-图像编辑-正反片" type="System.Resources.ResXFileRef, System.Windows.Forms"> <data name="執行日誌紀錄" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\主页面-图像编辑-正反片.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> <value>..\Resources\執行日誌紀錄.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="圆形1" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\圆形.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="Black_Green_0" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\Black_Green_0.bmp;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data> </data>
<data name="缩小" type="System.Resources.ResXFileRef, System.Windows.Forms"> <data name="缩小" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\缩小.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> <value>..\Resources\缩小.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
@ -262,8 +265,8 @@
<data name="Pseudo_1" type="System.Resources.ResXFileRef, System.Windows.Forms"> <data name="Pseudo_1" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\Pseudo_1.bmp;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> <value>..\Resources\Pseudo_1.bmp;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data> </data>
<data name="Gray" type="System.Resources.ResXFileRef, System.Windows.Forms"> <data name="线段" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\Gray.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> <value>..\Resources\线段.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data> </data>
<data name="10矩形" type="System.Resources.ResXFileRef, System.Windows.Forms"> <data name="10矩形" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\10矩形.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> <value>..\Resources\10矩形.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
@ -271,23 +274,23 @@
<data name="线段 (1)" type="System.Resources.ResXFileRef, System.Windows.Forms"> <data name="线段 (1)" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\线段 (1).png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> <value>..\Resources\线段 (1).png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data> </data>
<data name="執行日誌紀錄" type="System.Resources.ResXFileRef, System.Windows.Forms"> <data name="YellowHot_1" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\執行日誌紀錄.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> <value>..\Resources\YellowHot_1.bmp;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data> </data>
<data name="蛋白质-01" type="System.Resources.ResXFileRef, System.Windows.Forms"> <data name="饼干" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\蛋白质-01.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> <value>..\Resources\饼干.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data> </data>
<data name="壁纸" type="System.Resources.ResXFileRef, System.Windows.Forms"> <data name="数据报告" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\壁纸.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> <value>..\Resources\数据报告.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data> </data>
<data name="圆形1" type="System.Resources.ResXFileRef, System.Windows.Forms"> <data name="zoom-in" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\圆形.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> <value>..\Resources\zoom-in.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data> </data>
<data name="黑白平衡" type="System.Resources.ResXFileRef, System.Windows.Forms"> <data name="黑白平衡" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\黑白平衡.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> <value>..\Resources\黑白平衡.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data> </data>
<data name="Black_SDS_1" type="System.Resources.ResXFileRef, System.Windows.Forms"> <data name="重置" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\Black_SDS_1.bmp;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> <value>..\Resources\重置.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data> </data>
<data name="放大" type="System.Resources.ResXFileRef, System.Windows.Forms"> <data name="放大" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\放大.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> <value>..\Resources\放大.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
@ -295,7 +298,10 @@
<data name="波形图" type="System.Resources.ResXFileRef, System.Windows.Forms"> <data name="波形图" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\波形图.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> <value>..\Resources\波形图.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data> </data>
<data name="关闭White" type="System.Resources.ResXFileRef, System.Windows.Forms"> <data name="最大化white" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\关闭White.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> <value>..\Resources\最大化white.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="最小化white" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\最小化white.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data> </data>
</root> </root>

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

View File

@ -0,0 +1,373 @@
namespace PBAnaly.UI
{
partial class SystemSettingForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
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;
}
}

View File

@ -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();
}
}
}

View File

@ -0,0 +1,135 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="Column1.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Column2.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Column5.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Column3.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Column4.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
</root>