From fb4b8642cfbd157ae0635b182b4f578bf337dbef Mon Sep 17 00:00:00 2001
From: C3204 <zhengyabo@lanpucloud.cn>
Date: 星期一, 19 一月 2026 08:41:11 +0800
Subject: [PATCH] user
---
LB_SmartVision/Forms/Pages/UserManagementPage/UserManagementEditPage.Designer.cs | 238 ++++++++++++++++++++++++++++-------------------------------
1 files changed, 113 insertions(+), 125 deletions(-)
diff --git a/LB_SmartVision/Forms/Pages/UserManagementPage/UserManagementEditPage.Designer.cs b/LB_SmartVision/Forms/Pages/UserManagementPage/UserManagementEditPage.Designer.cs
index 4d4b002..1ddac98 100644
--- a/LB_SmartVision/Forms/Pages/UserManagementPage/UserManagementEditPage.Designer.cs
+++ b/LB_SmartVision/Forms/Pages/UserManagementPage/UserManagementEditPage.Designer.cs
@@ -1,19 +1,22 @@
锘�
using ReaLTaiizor.Controls;
+using Sunny.UI;
+using System.Drawing.Printing;
+using System.Windows.Forms;
namespace LB_SmartVision.Forms.Pages.UserManagementPage
{
partial class UserManagementEditPage
{
- /// <summary>
- /// Required designer variable.
+ /// <summary>
+ /// 蹇呴渶鐨勮璁″櫒鍙橀噺銆�
/// </summary>
private System.ComponentModel.IContainer components = null;
- /// <summary>
- /// Clean up any resources being used.
+ /// <summary>
+ /// 娓呯悊鎵�鏈夋鍦ㄤ娇鐢ㄧ殑璧勬簮銆�
/// </summary>
- /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
+ /// <param name="disposing">濡傛灉搴旈噴鏀炬墭绠¤祫婧愶紝涓� true锛涘惁鍒欎负 false銆�</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
@@ -23,17 +26,15 @@
base.Dispose(disposing);
}
- #region Windows Form Designer generated code
+ #region 缁勪欢璁捐鍣ㄧ敓鎴愮殑浠g爜
- /// <summary>
- /// Required method for Designer support - do not modify
- /// the contents of this method with the code editor.
+ /// <summary>
+ /// 璁捐鍣ㄦ敮鎸佹墍闇�鐨勬柟娉� - 涓嶈淇敼
+ /// 浣跨敤浠g爜缂栬緫鍣ㄤ慨鏀规鏂规硶鐨勫唴瀹广��
/// </summary>
private void InitializeComponent()
{
- btn_Add = new HopeButton();
- btn_Clear = new LostButton();
- uiFlowLayoutPanel1 = new FlowLayoutPanel();
+ grpSetting = new ParrotGroupBox();
tableLayoutPanel1 = new TableLayoutPanel();
tableLayoutPanel2 = new TableLayoutPanel();
tableLayoutPanel3 = new TableLayoutPanel();
@@ -49,82 +50,47 @@
comboBoxPermission = new ComboBox();
dataGridViewUM = new DataGridView();
tableLayoutPanel4 = new TableLayoutPanel();
- btnEdit = new HopeButton();
btnFind = new HopeButton();
- btnDel = new HopeButton();
+ btnEdit = new HopeButton();
btnAdd = new ForeverButton();
+ btnDel = new HopeButton();
grpSetting.SuspendLayout();
tableLayoutPanel1.SuspendLayout();
tableLayoutPanel2.SuspendLayout();
+ tableLayoutPanel3.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)dataGridViewUM).BeginInit();
+ tableLayoutPanel4.SuspendLayout();
SuspendLayout();
//
- // btn_Add
+ // grpSetting
//
- btn_Add.BorderColor = Color.FromArgb(220, 223, 230);
- btn_Add.ButtonType = ReaLTaiizor.Util.HopeButtonType.Primary;
- btn_Add.Cursor = Cursors.Hand;
- btn_Add.DangerColor = Color.FromArgb(245, 108, 108);
- btn_Add.DefaultColor = Color.FromArgb(255, 255, 255);
- btn_Add.Dock = DockStyle.Fill;
- btn_Add.Font = new Font("瀹嬩綋", 12F);
- btn_Add.HoverTextColor = Color.FromArgb(48, 49, 51);
- btn_Add.InfoColor = Color.FromArgb(144, 147, 153);
- btn_Add.Location = new Point(503, 3);
- btn_Add.MinimumSize = new Size(1, 1);
- btn_Add.Name = "btn_Add";
- btn_Add.PrimaryColor = Color.FromArgb(64, 158, 255);
- btn_Add.Size = new Size(95, 38);
- btn_Add.SuccessColor = Color.FromArgb(103, 194, 58);
- btn_Add.TabIndex = 11;
- btn_Add.Text = "澧炲姞";
- btn_Add.TextColor = Color.White;
- btn_Add.WarningColor = Color.FromArgb(230, 162, 60);
- //
- // btn_Clear
- //
- btn_Clear.BackColor = Color.FromArgb(45, 45, 48);
- btn_Clear.Cursor = Cursors.Hand;
- btn_Clear.Dock = DockStyle.Fill;
- btn_Clear.Font = new Font("瀹嬩綋", 12F);
- btn_Clear.ForeColor = Color.White;
- btn_Clear.HoverColor = Color.DodgerBlue;
- btn_Clear.Image = null;
- btn_Clear.Location = new Point(403, 3);
- btn_Clear.MinimumSize = new Size(1, 1);
- btn_Clear.Name = "btn_Clear";
- btn_Clear.Size = new Size(94, 38);
- btn_Clear.TabIndex = 12;
- btn_Clear.Text = "娓呴櫎";
- //
- // uiFlowLayoutPanel1
- //
- uiFlowLayoutPanel1.BackColor = Color.FromArgb(32, 41, 50);
- uiFlowLayoutPanel1.Dock = DockStyle.Fill;
- uiFlowLayoutPanel1.Font = new Font("瀹嬩綋", 12F);
- uiFlowLayoutPanel1.ForeColor = SystemColors.Control;
- uiFlowLayoutPanel1.Location = new Point(4, 5);
- uiFlowLayoutPanel1.Margin = new Padding(4, 5, 4, 5);
- uiFlowLayoutPanel1.MinimumSize = new Size(1, 1);
- uiFlowLayoutPanel1.Name = "uiFlowLayoutPanel1";
- uiFlowLayoutPanel1.Padding = new Padding(2);
- uiFlowLayoutPanel1.Size = new Size(599, 293);
- uiFlowLayoutPanel1.TabIndex = 10;
- uiFlowLayoutPanel1.Text = "`";
+ grpSetting.BorderColor = Color.DodgerBlue;
+ grpSetting.BorderWidth = 1;
+ grpSetting.Controls.Add(tableLayoutPanel1);
+ grpSetting.Dock = DockStyle.Fill;
+ grpSetting.Font = new Font("瀹嬩綋", 12F, FontStyle.Regular, GraphicsUnit.Point, 134);
+ grpSetting.Location = new Point(0, 0);
+ grpSetting.Name = "grpSetting";
+ grpSetting.ShowText = true;
+ grpSetting.Size = new Size(866, 580);
+ grpSetting.TabIndex = 6;
+ grpSetting.TabStop = false;
+ grpSetting.Text = "鐢ㄦ埛绠$悊璁剧疆";
+ grpSetting.TextColor = Color.DodgerBlue;
//
// tableLayoutPanel1
//
tableLayoutPanel1.ColumnCount = 1;
tableLayoutPanel1.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 100F));
- tableLayoutPanel1.ColumnStyles.Add(new ColumnStyle(SizeType.Absolute, 20F));
- tableLayoutPanel1.Controls.Add(uiFlowLayoutPanel1, 0, 0);
- tableLayoutPanel1.Controls.Add(tableLayoutPanel2, 0, 1);
+ tableLayoutPanel1.Controls.Add(tableLayoutPanel2, 0, 0);
+ tableLayoutPanel1.Controls.Add(tableLayoutPanel4, 0, 1);
tableLayoutPanel1.Dock = DockStyle.Fill;
- tableLayoutPanel1.Location = new Point(3, 22);
+ tableLayoutPanel1.Location = new Point(3, 26);
tableLayoutPanel1.Name = "tableLayoutPanel1";
tableLayoutPanel1.RowCount = 2;
tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Percent, 100F));
tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Absolute, 45F));
- tableLayoutPanel1.Size = new Size(860, 555);
+ tableLayoutPanel1.Size = new Size(860, 551);
tableLayoutPanel1.TabIndex = 1;
//
// tableLayoutPanel2
@@ -135,11 +101,11 @@
tableLayoutPanel2.Controls.Add(tableLayoutPanel3, 0, 0);
tableLayoutPanel2.Controls.Add(dataGridViewUM, 1, 0);
tableLayoutPanel2.Dock = DockStyle.Fill;
- tableLayoutPanel2.Location = new Point(3, 306);
+ tableLayoutPanel2.Location = new Point(3, 3);
tableLayoutPanel2.Name = "tableLayoutPanel2";
tableLayoutPanel2.RowCount = 1;
tableLayoutPanel2.RowStyles.Add(new RowStyle(SizeType.Percent, 100F));
- tableLayoutPanel2.Size = new Size(854, 504);
+ tableLayoutPanel2.Size = new Size(854, 500);
tableLayoutPanel2.TabIndex = 0;
//
// tableLayoutPanel3
@@ -173,7 +139,7 @@
textBoxEmployeeID.Location = new Point(107, 187);
textBoxEmployeeID.Margin = new Padding(7);
textBoxEmployeeID.Name = "textBoxEmployeeID";
- textBoxEmployeeID.Size = new Size(219, 26);
+ textBoxEmployeeID.Size = new Size(219, 30);
textBoxEmployeeID.TabIndex = 9;
//
// labelEmployeeID
@@ -193,7 +159,7 @@
textBoxName.Location = new Point(107, 142);
textBoxName.Margin = new Padding(7);
textBoxName.Name = "textBoxName";
- textBoxName.Size = new Size(219, 26);
+ textBoxName.Size = new Size(219, 30);
textBoxName.TabIndex = 7;
//
// labelName
@@ -225,7 +191,7 @@
textBoxPassword.Location = new Point(107, 52);
textBoxPassword.Margin = new Padding(7);
textBoxPassword.Name = "textBoxPassword";
- textBoxPassword.Size = new Size(219, 26);
+ textBoxPassword.Size = new Size(219, 30);
textBoxPassword.TabIndex = 3;
//
// labelPassword
@@ -257,7 +223,7 @@
textBoxUsername.Location = new Point(107, 7);
textBoxUsername.Margin = new Padding(7);
textBoxUsername.Name = "textBoxUsername";
- textBoxUsername.Size = new Size(219, 26);
+ textBoxUsername.Size = new Size(219, 30);
textBoxUsername.TabIndex = 1;
//
// comboBoxPermission
@@ -267,7 +233,7 @@
comboBoxPermission.Location = new Point(107, 97);
comboBoxPermission.Margin = new Padding(7);
comboBoxPermission.Name = "comboBoxPermission";
- comboBoxPermission.Size = new Size(219, 24);
+ comboBoxPermission.Size = new Size(219, 28);
comboBoxPermission.TabIndex = 5;
//
// dataGridViewUM
@@ -277,46 +243,27 @@
dataGridViewUM.Location = new Point(343, 3);
dataGridViewUM.Name = "dataGridViewUM";
dataGridViewUM.RowHeadersWidth = 51;
- dataGridViewUM.Size = new Size(508, 498);
+ dataGridViewUM.Size = new Size(508, 494);
dataGridViewUM.TabIndex = 1;
//
// tableLayoutPanel4
//
tableLayoutPanel4.Anchor = AnchorStyles.Top | AnchorStyles.Right;
tableLayoutPanel4.ColumnCount = 4;
- tableLayoutPanel4.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 25F));
- tableLayoutPanel4.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 25F));
- tableLayoutPanel4.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 25F));
- tableLayoutPanel4.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 25F));
- tableLayoutPanel4.Controls.Add(btnEdit, 1, 0);
+ tableLayoutPanel4.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 20F));
+ tableLayoutPanel4.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 20F));
+ tableLayoutPanel4.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 20F));
+ tableLayoutPanel4.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 20F));
tableLayoutPanel4.Controls.Add(btnFind, 0, 0);
- tableLayoutPanel4.Controls.Add(btnDel, 3, 0);
+ tableLayoutPanel4.Controls.Add(btnEdit, 1, 0);
tableLayoutPanel4.Controls.Add(btnAdd, 2, 0);
- tableLayoutPanel4.Location = new Point(457, 513);
+ tableLayoutPanel4.Controls.Add(btnDel, 3, 0);
+ tableLayoutPanel4.Location = new Point(457, 509);
tableLayoutPanel4.Name = "tableLayoutPanel4";
tableLayoutPanel4.RowCount = 1;
tableLayoutPanel4.RowStyles.Add(new RowStyle(SizeType.Percent, 100F));
tableLayoutPanel4.Size = new Size(400, 39);
tableLayoutPanel4.TabIndex = 1;
- //
- // btnEdit
- //
- btnEdit.BorderColor = Color.FromArgb(220, 223, 230);
- btnEdit.ButtonType = ReaLTaiizor.Util.HopeButtonType.Primary;
- btnEdit.DangerColor = Color.FromArgb(245, 108, 108);
- btnEdit.DefaultColor = Color.FromArgb(255, 255, 255);
- btnEdit.Font = new Font("Segoe UI", 12F);
- btnEdit.HoverTextColor = Color.FromArgb(48, 49, 51);
- btnEdit.InfoColor = Color.FromArgb(144, 147, 153);
- btnEdit.Location = new Point(103, 3);
- btnEdit.Name = "btnEdit";
- btnEdit.PrimaryColor = Color.FromArgb(64, 158, 255);
- btnEdit.Size = new Size(94, 33);
- btnEdit.SuccessColor = Color.FromArgb(103, 194, 58);
- btnEdit.TabIndex = 2;
- btnEdit.Text = "淇敼";
- btnEdit.TextColor = Color.White;
- btnEdit.WarningColor = Color.FromArgb(230, 162, 60);
//
// btnFind
//
@@ -336,6 +283,41 @@
btnFind.Text = "鏌ヨ";
btnFind.TextColor = Color.White;
btnFind.WarningColor = Color.FromArgb(230, 162, 60);
+ btnFind.Click += btnFind_Click;
+ //
+ // btnEdit
+ //
+ btnEdit.BorderColor = Color.FromArgb(220, 223, 230);
+ btnEdit.ButtonType = ReaLTaiizor.Util.HopeButtonType.Primary;
+ btnEdit.DangerColor = Color.FromArgb(245, 108, 108);
+ btnEdit.DefaultColor = Color.FromArgb(255, 255, 255);
+ btnEdit.Font = new Font("Segoe UI", 12F);
+ btnEdit.HoverTextColor = Color.FromArgb(48, 49, 51);
+ btnEdit.InfoColor = Color.FromArgb(144, 147, 153);
+ btnEdit.Location = new Point(103, 3);
+ btnEdit.Name = "btnEdit";
+ btnEdit.PrimaryColor = Color.FromArgb(64, 158, 255);
+ btnEdit.Size = new Size(94, 33);
+ btnEdit.SuccessColor = Color.FromArgb(103, 194, 58);
+ btnEdit.TabIndex = 2;
+ btnEdit.Text = "淇敼";
+ btnEdit.TextColor = Color.White;
+ btnEdit.WarningColor = Color.FromArgb(230, 162, 60);
+ btnEdit.Click += btnEdit_Click;
+ //
+ // btnAdd
+ //
+ btnAdd.BackColor = Color.Transparent;
+ btnAdd.BaseColor = Color.FromArgb(35, 168, 109);
+ btnAdd.Font = new Font("Segoe UI", 12F);
+ btnAdd.Location = new Point(203, 3);
+ btnAdd.Name = "btnAdd";
+ btnAdd.Rounded = false;
+ btnAdd.Size = new Size(94, 33);
+ btnAdd.TabIndex = 4;
+ btnAdd.Text = "娣诲姞";
+ btnAdd.TextColor = Color.FromArgb(243, 243, 243);
+ btnAdd.Click += btnAdd_Click;
//
// btnDel
//
@@ -357,39 +339,45 @@
btnDel.WarningColor = Color.FromArgb(230, 162, 60);
btnDel.Click += btnDel_Click;
//
- // btnAdd
- //
- btnAdd.BackColor = Color.Transparent;
- btnAdd.BaseColor = Color.FromArgb(35, 168, 109);
- btnAdd.Font = new Font("Segoe UI", 12F);
- btnAdd.Location = new Point(203, 3);
- btnAdd.Name = "btnAdd";
- btnAdd.Rounded = false;
- btnAdd.Size = new Size(94, 33);
- btnAdd.TabIndex = 4;
- btnAdd.Text = "娣诲姞";
- btnAdd.TextColor = Color.FromArgb(243, 243, 243);
- btnAdd.Click += btnAdd_Click;
- //
// UserManagementEditPage
//
BackColor = Color.FromArgb(32, 41, 50);
- Controls.Add(tableLayoutPanel1);
- ForeColor = SystemColors.Control;
+ Controls.Add(grpSetting);
Name = "UserManagementEditPage";
- Size = new Size(607, 353);
- Paint += MESEditPage_Paint;
+ Size = new Size(866, 580);
+ grpSetting.ResumeLayout(false);
+ grpSetting.PerformLayout();
tableLayoutPanel1.ResumeLayout(false);
tableLayoutPanel2.ResumeLayout(false);
+ tableLayoutPanel3.ResumeLayout(false);
+ tableLayoutPanel3.PerformLayout();
+ ((System.ComponentModel.ISupportInitialize)dataGridViewUM).EndInit();
+ tableLayoutPanel4.ResumeLayout(false);
ResumeLayout(false);
}
#endregion
- private ReaLTaiizor.Controls.HopeButton btn_Add;
- private ReaLTaiizor.Controls.LostButton btn_Clear;
- private FlowLayoutPanel uiFlowLayoutPanel1;
+ private ParrotGroupBox grpSetting;
private TableLayoutPanel tableLayoutPanel1;
private TableLayoutPanel tableLayoutPanel2;
+ private TableLayoutPanel tableLayoutPanel3;
+ private Label labelUsername;
+ private TextBox textBoxUsername;
+ private TextBox textBoxEmployeeID;
+ private Label labelEmployeeID;
+ private TextBox textBoxName;
+ private Label labelName;
+ private Label labelPermission;
+ private TextBox textBoxPassword;
+ private Label labelPassword;
+ private ComboBox comboBoxPermission;
+ private DataGridView dataGridViewUM;
+ private TableLayoutPanel tableLayoutPanel4;
+ private HopeButton btnDel;
+ private HopeButton btnEdit;
+ private HopeButton btnFind;
+ private ForeverButton btnAdd;
}
+
}
\ No newline at end of file
--
Gitblit v1.9.3