首次提交

This commit is contained in:
XingCheng3
2026-05-11 11:09:04 +08:00
commit 79c0f9cd43
260 changed files with 33504 additions and 0 deletions

253
SCADA/Pages/UC_ToolMgmt.Designer.cs generated Normal file
View File

@@ -0,0 +1,253 @@
namespace MesWork.Pages
{
partial class UC_ToolMgmt
{
private System.ComponentModel.IContainer components = null;
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
components.Dispose();
base.Dispose(disposing);
}
#region
private void InitializeComponent()
{
this.pnl_Toolbar = new System.Windows.Forms.Panel();
this.txt_Search = new System.Windows.Forms.TextBox();
this.btn_Search = new System.Windows.Forms.Button();
this.btn_Add = new System.Windows.Forms.Button();
this.btn_Edit = new System.Windows.Forms.Button();
this.btn_Delete = new System.Windows.Forms.Button();
this.btn_Refresh = new System.Windows.Forms.Button();
this.btn_Export = new System.Windows.Forms.Button();
this.dgv_Data = new System.Windows.Forms.DataGridView();
this.pnl_StatusBar = new System.Windows.Forms.Panel();
this.lbl_RecordCount = new System.Windows.Forms.Label();
this.pnl_Toolbar.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.dgv_Data)).BeginInit();
this.pnl_StatusBar.SuspendLayout();
this.SuspendLayout();
//
// pnl_Toolbar — 顶部工具栏
//
this.pnl_Toolbar.BackColor = System.Drawing.Color.White;
this.pnl_Toolbar.Controls.Add(this.btn_Export);
this.pnl_Toolbar.Controls.Add(this.btn_Refresh);
this.pnl_Toolbar.Controls.Add(this.btn_Delete);
this.pnl_Toolbar.Controls.Add(this.btn_Edit);
this.pnl_Toolbar.Controls.Add(this.btn_Add);
this.pnl_Toolbar.Controls.Add(this.btn_Search);
this.pnl_Toolbar.Controls.Add(this.txt_Search);
this.pnl_Toolbar.Dock = System.Windows.Forms.DockStyle.Top;
this.pnl_Toolbar.Location = new System.Drawing.Point(0, 0);
this.pnl_Toolbar.Name = "pnl_Toolbar";
this.pnl_Toolbar.Padding = new System.Windows.Forms.Padding(16, 12, 16, 12);
this.pnl_Toolbar.Size = new System.Drawing.Size(1820, 56);
this.pnl_Toolbar.TabIndex = 0;
//
// txt_Search — 搜索框
//
this.txt_Search.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.txt_Search.Font = new System.Drawing.Font("微软雅黑", 11F);
this.txt_Search.ForeColor = System.Drawing.Color.FromArgb(156, 163, 175);
this.txt_Search.Location = new System.Drawing.Point(16, 13);
this.txt_Search.Name = "txt_Search";
this.txt_Search.Size = new System.Drawing.Size(280, 27);
this.txt_Search.TabIndex = 0;
this.txt_Search.Text = "输入工具名称搜索...";
this.txt_Search.GotFocus += new System.EventHandler(this.txt_Search_GotFocus);
this.txt_Search.LostFocus += new System.EventHandler(this.txt_Search_LostFocus);
this.txt_Search.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_Search_KeyDown);
//
// btn_Search
//
this.btn_Search.BackColor = System.Drawing.Color.FromArgb(74, 144, 217);
this.btn_Search.Cursor = System.Windows.Forms.Cursors.Hand;
this.btn_Search.FlatAppearance.BorderSize = 0;
this.btn_Search.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btn_Search.Font = new System.Drawing.Font("微软雅黑", 10F, System.Drawing.FontStyle.Bold);
this.btn_Search.ForeColor = System.Drawing.Color.White;
this.btn_Search.Location = new System.Drawing.Point(306, 12);
this.btn_Search.Name = "btn_Search";
this.btn_Search.Size = new System.Drawing.Size(80, 30);
this.btn_Search.TabIndex = 1;
this.btn_Search.Text = "🔍 搜索";
this.btn_Search.UseVisualStyleBackColor = false;
this.btn_Search.Click += new System.EventHandler(this.btn_Search_Click);
//
// btn_Add
//
this.btn_Add.Anchor = System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right;
this.btn_Add.BackColor = System.Drawing.Color.FromArgb(74, 144, 217);
this.btn_Add.Cursor = System.Windows.Forms.Cursors.Hand;
this.btn_Add.FlatAppearance.BorderSize = 0;
this.btn_Add.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btn_Add.Font = new System.Drawing.Font("微软雅黑", 10F, System.Drawing.FontStyle.Bold);
this.btn_Add.ForeColor = System.Drawing.Color.White;
this.btn_Add.Location = new System.Drawing.Point(1334, 12);
this.btn_Add.Name = "btn_Add";
this.btn_Add.Size = new System.Drawing.Size(88, 30);
this.btn_Add.TabIndex = 2;
this.btn_Add.Text = " 新增";
this.btn_Add.UseVisualStyleBackColor = false;
this.btn_Add.Click += new System.EventHandler(this.btn_Add_Click);
//
// btn_Edit
//
this.btn_Edit.Anchor = System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right;
this.btn_Edit.BackColor = System.Drawing.Color.FromArgb(245, 158, 11);
this.btn_Edit.Cursor = System.Windows.Forms.Cursors.Hand;
this.btn_Edit.FlatAppearance.BorderSize = 0;
this.btn_Edit.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btn_Edit.Font = new System.Drawing.Font("微软雅黑", 10F, System.Drawing.FontStyle.Bold);
this.btn_Edit.ForeColor = System.Drawing.Color.White;
this.btn_Edit.Location = new System.Drawing.Point(1430, 12);
this.btn_Edit.Name = "btn_Edit";
this.btn_Edit.Size = new System.Drawing.Size(88, 30);
this.btn_Edit.TabIndex = 3;
this.btn_Edit.Text = "✏ 修改";
this.btn_Edit.UseVisualStyleBackColor = false;
this.btn_Edit.Click += new System.EventHandler(this.btn_Edit_Click);
//
// btn_Delete
//
this.btn_Delete.Anchor = System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right;
this.btn_Delete.BackColor = System.Drawing.Color.FromArgb(239, 68, 68);
this.btn_Delete.Cursor = System.Windows.Forms.Cursors.Hand;
this.btn_Delete.FlatAppearance.BorderSize = 0;
this.btn_Delete.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btn_Delete.Font = new System.Drawing.Font("微软雅黑", 10F, System.Drawing.FontStyle.Bold);
this.btn_Delete.ForeColor = System.Drawing.Color.White;
this.btn_Delete.Location = new System.Drawing.Point(1526, 12);
this.btn_Delete.Name = "btn_Delete";
this.btn_Delete.Size = new System.Drawing.Size(88, 30);
this.btn_Delete.TabIndex = 4;
this.btn_Delete.Text = "✕ 删除";
this.btn_Delete.UseVisualStyleBackColor = false;
this.btn_Delete.Click += new System.EventHandler(this.btn_Delete_Click);
//
// btn_Refresh
//
this.btn_Refresh.Anchor = System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right;
this.btn_Refresh.BackColor = System.Drawing.Color.FromArgb(107, 114, 128);
this.btn_Refresh.Cursor = System.Windows.Forms.Cursors.Hand;
this.btn_Refresh.FlatAppearance.BorderSize = 0;
this.btn_Refresh.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btn_Refresh.Font = new System.Drawing.Font("微软雅黑", 10F, System.Drawing.FontStyle.Bold);
this.btn_Refresh.ForeColor = System.Drawing.Color.White;
this.btn_Refresh.Location = new System.Drawing.Point(1718, 12);
this.btn_Refresh.Name = "btn_Refresh";
this.btn_Refresh.Size = new System.Drawing.Size(88, 30);
this.btn_Refresh.TabIndex = 5;
this.btn_Refresh.Text = "↻ 刷新";
this.btn_Refresh.UseVisualStyleBackColor = false;
this.btn_Refresh.Click += new System.EventHandler(this.btn_Refresh_Click);
//
// btn_Export
//
this.btn_Export.Anchor = System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right;
this.btn_Export.BackColor = System.Drawing.Color.FromArgb(5, 150, 105);
this.btn_Export.Cursor = System.Windows.Forms.Cursors.Hand;
this.btn_Export.FlatAppearance.BorderSize = 0;
this.btn_Export.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btn_Export.Font = new System.Drawing.Font("微软雅黑", 10F, System.Drawing.FontStyle.Bold);
this.btn_Export.ForeColor = System.Drawing.Color.White;
this.btn_Export.Location = new System.Drawing.Point(1622, 12);
this.btn_Export.Name = "btn_Export";
this.btn_Export.Size = new System.Drawing.Size(88, 30);
this.btn_Export.TabIndex = 6;
this.btn_Export.Text = "📥 导出";
this.btn_Export.UseVisualStyleBackColor = false;
this.btn_Export.Click += new System.EventHandler(this.btn_Export_Click);
//
// dgv_Data — 数据表格
//
this.dgv_Data.AllowUserToAddRows = false;
this.dgv_Data.AllowUserToDeleteRows = false;
this.dgv_Data.AllowUserToResizeRows = false;
this.dgv_Data.BackgroundColor = System.Drawing.Color.White;
this.dgv_Data.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.dgv_Data.CellBorderStyle = System.Windows.Forms.DataGridViewCellBorderStyle.SingleHorizontal;
this.dgv_Data.ColumnHeadersHeight = 42;
this.dgv_Data.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
this.dgv_Data.ColumnHeadersDefaultCellStyle.BackColor = System.Drawing.Color.FromArgb(232, 237, 242);
this.dgv_Data.ColumnHeadersDefaultCellStyle.ForeColor = System.Drawing.Color.FromArgb(30, 58, 95);
this.dgv_Data.ColumnHeadersDefaultCellStyle.Font = new System.Drawing.Font("微软雅黑", 11F, System.Drawing.FontStyle.Bold);
this.dgv_Data.ColumnHeadersDefaultCellStyle.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
this.dgv_Data.DefaultCellStyle.ForeColor = System.Drawing.Color.FromArgb(31, 41, 55);
this.dgv_Data.DefaultCellStyle.Font = new System.Drawing.Font("微软雅黑", 11F);
this.dgv_Data.DefaultCellStyle.SelectionBackColor = System.Drawing.Color.FromArgb(219, 234, 254);
this.dgv_Data.DefaultCellStyle.SelectionForeColor = System.Drawing.Color.FromArgb(30, 58, 95);
this.dgv_Data.DefaultCellStyle.Padding = new System.Windows.Forms.Padding(8, 0, 8, 0);
this.dgv_Data.AlternatingRowsDefaultCellStyle.BackColor = System.Drawing.Color.FromArgb(248, 250, 252);
this.dgv_Data.Dock = System.Windows.Forms.DockStyle.Fill;
this.dgv_Data.EnableHeadersVisualStyles = false;
this.dgv_Data.GridColor = System.Drawing.Color.FromArgb(229, 231, 235);
this.dgv_Data.MultiSelect = false;
this.dgv_Data.Name = "dgv_Data";
this.dgv_Data.ReadOnly = true;
this.dgv_Data.RowHeadersVisible = false;
this.dgv_Data.RowTemplate.Height = 38;
this.dgv_Data.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
this.dgv_Data.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
this.dgv_Data.TabIndex = 1;
this.dgv_Data.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgv_Data_CellDoubleClick);
//
// pnl_StatusBar — 底部状态栏
//
this.pnl_StatusBar.BackColor = System.Drawing.Color.White;
this.pnl_StatusBar.Controls.Add(this.lbl_RecordCount);
this.pnl_StatusBar.Dock = System.Windows.Forms.DockStyle.Bottom;
this.pnl_StatusBar.Location = new System.Drawing.Point(0, 964);
this.pnl_StatusBar.Name = "pnl_StatusBar";
this.pnl_StatusBar.Padding = new System.Windows.Forms.Padding(16, 6, 16, 6);
this.pnl_StatusBar.Size = new System.Drawing.Size(1820, 36);
this.pnl_StatusBar.TabIndex = 2;
//
// lbl_RecordCount
//
this.lbl_RecordCount.AutoSize = true;
this.lbl_RecordCount.Font = new System.Drawing.Font("微软雅黑", 10F);
this.lbl_RecordCount.ForeColor = System.Drawing.Color.FromArgb(55, 65, 81);
this.lbl_RecordCount.Location = new System.Drawing.Point(16, 8);
this.lbl_RecordCount.Name = "lbl_RecordCount";
this.lbl_RecordCount.Size = new System.Drawing.Size(82, 20);
this.lbl_RecordCount.TabIndex = 0;
this.lbl_RecordCount.Text = "共 0 条记录";
//
// UC_ToolMgmt
//
this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
this.BackColor = System.Drawing.Color.FromArgb(245, 247, 250);
this.Controls.Add(this.dgv_Data);
this.Controls.Add(this.pnl_StatusBar);
this.Controls.Add(this.pnl_Toolbar);
this.Name = "UC_ToolMgmt";
this.Size = new System.Drawing.Size(1820, 1000);
this.pnl_Toolbar.ResumeLayout(false);
this.pnl_Toolbar.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.dgv_Data)).EndInit();
this.pnl_StatusBar.ResumeLayout(false);
this.pnl_StatusBar.PerformLayout();
this.ResumeLayout(false);
}
#endregion
private System.Windows.Forms.Panel pnl_Toolbar;
private System.Windows.Forms.TextBox txt_Search;
private System.Windows.Forms.Button btn_Search;
private System.Windows.Forms.Button btn_Add;
private System.Windows.Forms.Button btn_Edit;
private System.Windows.Forms.Button btn_Delete;
private System.Windows.Forms.Button btn_Refresh;
private System.Windows.Forms.Button btn_Export;
private System.Windows.Forms.DataGridView dgv_Data;
private System.Windows.Forms.Panel pnl_StatusBar;
private System.Windows.Forms.Label lbl_RecordCount;
}
}