From 32304b0a0a2e4af174c0feea96d2387bb75a2556 Mon Sep 17 00:00:00 2001
From: C3032 <caoxingqi@shlanbao.cn>
Date: 星期三, 18 三月 2026 16:03:44 +0800
Subject: [PATCH] 新增:读码器功能模块,集成华睿读码器并初步实现读码功能
---
LB_SmartVision/Forms/Pages/UserManagementPage/UserManagementEditPage.Designer.cs | 104 ++++++++++++++++++++++++++-------------------------
1 files changed, 53 insertions(+), 51 deletions(-)
diff --git a/LB_SmartVision/Forms/Pages/UserManagementPage/UserManagementEditPage.Designer.cs b/LB_SmartVision/Forms/Pages/UserManagementPage/UserManagementEditPage.Designer.cs
index 564f17c..1ddac98 100644
--- a/LB_SmartVision/Forms/Pages/UserManagementPage/UserManagementEditPage.Designer.cs
+++ b/LB_SmartVision/Forms/Pages/UserManagementPage/UserManagementEditPage.Designer.cs
@@ -50,10 +50,10 @@
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();
@@ -85,12 +85,12 @@
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
@@ -105,7 +105,7 @@
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
@@ -139,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
@@ -159,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
@@ -191,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
@@ -223,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
@@ -233,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
@@ -243,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
//
@@ -302,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
//
@@ -322,20 +338,6 @@
btnDel.TextColor = Color.White;
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
//
--
Gitblit v1.9.3