187 lines
11 KiB
C#
187 lines
11 KiB
C#
namespace MesWork.Pages
|
|
{
|
|
partial class UC_StationRecord
|
|
{
|
|
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_QueryBar = new System.Windows.Forms.Panel();
|
|
this.lbl_DateFrom = new System.Windows.Forms.Label();
|
|
this.dtp_Start = new System.Windows.Forms.DateTimePicker();
|
|
this.lbl_DateTo = new System.Windows.Forms.Label();
|
|
this.dtp_End = new System.Windows.Forms.DateTimePicker();
|
|
this.lbl_EngineNo = new System.Windows.Forms.Label();
|
|
this.txt_EngineNo = new System.Windows.Forms.TextBox();
|
|
this.lbl_ModelNo = new System.Windows.Forms.Label();
|
|
this.txt_ModelNo = new System.Windows.Forms.TextBox();
|
|
this.btn_Query = 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.pnl_QueryBar.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.dgv_Data)).BeginInit();
|
|
this.SuspendLayout();
|
|
// pnl_QueryBar
|
|
this.pnl_QueryBar.BackColor = System.Drawing.Color.White;
|
|
this.pnl_QueryBar.Controls.Add(this.btn_Export);
|
|
this.pnl_QueryBar.Controls.Add(this.btn_Query);
|
|
this.pnl_QueryBar.Controls.Add(this.txt_ModelNo);
|
|
this.pnl_QueryBar.Controls.Add(this.lbl_ModelNo);
|
|
this.pnl_QueryBar.Controls.Add(this.txt_EngineNo);
|
|
this.pnl_QueryBar.Controls.Add(this.lbl_EngineNo);
|
|
this.pnl_QueryBar.Controls.Add(this.dtp_End);
|
|
this.pnl_QueryBar.Controls.Add(this.lbl_DateTo);
|
|
this.pnl_QueryBar.Controls.Add(this.dtp_Start);
|
|
this.pnl_QueryBar.Controls.Add(this.lbl_DateFrom);
|
|
this.pnl_QueryBar.Dock = System.Windows.Forms.DockStyle.Top;
|
|
this.pnl_QueryBar.Height = 56;
|
|
this.pnl_QueryBar.Name = "pnl_QueryBar";
|
|
this.pnl_QueryBar.Padding = new System.Windows.Forms.Padding(16, 12, 16, 12);
|
|
// 日期范围
|
|
this.lbl_DateFrom.AutoSize = true;
|
|
this.lbl_DateFrom.Font = new System.Drawing.Font("微软雅黑", 10F);
|
|
this.lbl_DateFrom.ForeColor = System.Drawing.Color.FromArgb(55, 65, 81);
|
|
this.lbl_DateFrom.Location = new System.Drawing.Point(16, 17);
|
|
this.lbl_DateFrom.Name = "lbl_DateFrom";
|
|
this.lbl_DateFrom.Text = "从";
|
|
this.dtp_Start.Font = new System.Drawing.Font("微软雅黑", 10F);
|
|
this.dtp_Start.Format = System.Windows.Forms.DateTimePickerFormat.Short;
|
|
this.dtp_Start.Location = new System.Drawing.Point(40, 13);
|
|
this.dtp_Start.Name = "dtp_Start";
|
|
this.dtp_Start.Size = new System.Drawing.Size(130, 25);
|
|
this.lbl_DateTo.AutoSize = true;
|
|
this.lbl_DateTo.Font = new System.Drawing.Font("微软雅黑", 10F);
|
|
this.lbl_DateTo.ForeColor = System.Drawing.Color.FromArgb(55, 65, 81);
|
|
this.lbl_DateTo.Location = new System.Drawing.Point(178, 17);
|
|
this.lbl_DateTo.Name = "lbl_DateTo";
|
|
this.lbl_DateTo.Text = "到";
|
|
this.dtp_End.Font = new System.Drawing.Font("微软雅黑", 10F);
|
|
this.dtp_End.Format = System.Windows.Forms.DateTimePickerFormat.Short;
|
|
this.dtp_End.Location = new System.Drawing.Point(200, 13);
|
|
this.dtp_End.Name = "dtp_End";
|
|
this.dtp_End.Size = new System.Drawing.Size(130, 25);
|
|
// 发动机号
|
|
this.lbl_EngineNo.AutoSize = true;
|
|
this.lbl_EngineNo.Font = new System.Drawing.Font("微软雅黑", 10F);
|
|
this.lbl_EngineNo.ForeColor = System.Drawing.Color.FromArgb(55, 65, 81);
|
|
this.lbl_EngineNo.Location = new System.Drawing.Point(360, 17);
|
|
this.lbl_EngineNo.Name = "lbl_EngineNo";
|
|
this.lbl_EngineNo.Text = "发动机号";
|
|
this.txt_EngineNo.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
|
this.txt_EngineNo.Font = new System.Drawing.Font("微软雅黑", 10F);
|
|
this.txt_EngineNo.Location = new System.Drawing.Point(430, 13);
|
|
this.txt_EngineNo.Name = "txt_EngineNo";
|
|
this.txt_EngineNo.Size = new System.Drawing.Size(160, 25);
|
|
// 机型号
|
|
this.lbl_ModelNo.AutoSize = true;
|
|
this.lbl_ModelNo.Font = new System.Drawing.Font("微软雅黑", 10F);
|
|
this.lbl_ModelNo.ForeColor = System.Drawing.Color.FromArgb(55, 65, 81);
|
|
this.lbl_ModelNo.Location = new System.Drawing.Point(610, 17);
|
|
this.lbl_ModelNo.Name = "lbl_ModelNo";
|
|
this.lbl_ModelNo.Text = "机型号";
|
|
this.txt_ModelNo.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
|
this.txt_ModelNo.Font = new System.Drawing.Font("微软雅黑", 10F);
|
|
this.txt_ModelNo.Location = new System.Drawing.Point(666, 13);
|
|
this.txt_ModelNo.Name = "txt_ModelNo";
|
|
this.txt_ModelNo.Size = new System.Drawing.Size(160, 25);
|
|
// btn_Query
|
|
this.btn_Query.BackColor = System.Drawing.Color.FromArgb(74, 144, 217);
|
|
this.btn_Query.Cursor = System.Windows.Forms.Cursors.Hand;
|
|
this.btn_Query.FlatAppearance.BorderSize = 0;
|
|
this.btn_Query.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
|
this.btn_Query.Font = new System.Drawing.Font("微软雅黑", 10F, System.Drawing.FontStyle.Bold);
|
|
this.btn_Query.ForeColor = System.Drawing.Color.White;
|
|
this.btn_Query.Location = new System.Drawing.Point(850, 12);
|
|
this.btn_Query.Name = "btn_Query";
|
|
this.btn_Query.Size = new System.Drawing.Size(88, 30);
|
|
this.btn_Query.Text = "🔍 查询";
|
|
this.btn_Query.UseVisualStyleBackColor = false;
|
|
this.btn_Query.Click += new System.EventHandler(this.btn_Query_Click);
|
|
// btn_Export — 导出Excel
|
|
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(950, 12);
|
|
this.btn_Export.Name = "btn_Export";
|
|
this.btn_Export.Size = new System.Drawing.Size(104, 30);
|
|
this.btn_Export.Text = "📥 导出 Excel";
|
|
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.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.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;
|
|
// pnl_StatusBar
|
|
this.pnl_StatusBar.BackColor = System.Drawing.Color.White;
|
|
this.pnl_StatusBar.Dock = System.Windows.Forms.DockStyle.Bottom;
|
|
this.pnl_StatusBar.Height = 40;
|
|
this.pnl_StatusBar.Name = "pnl_StatusBar";
|
|
// UC_StationRecord
|
|
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_QueryBar);
|
|
this.Name = "UC_StationRecord";
|
|
this.Size = new System.Drawing.Size(1820, 1000);
|
|
this.pnl_QueryBar.ResumeLayout(false);
|
|
this.pnl_QueryBar.PerformLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.dgv_Data)).EndInit();
|
|
this.ResumeLayout(false);
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.Panel pnl_QueryBar;
|
|
private System.Windows.Forms.Label lbl_DateFrom;
|
|
private System.Windows.Forms.DateTimePicker dtp_Start;
|
|
private System.Windows.Forms.Label lbl_DateTo;
|
|
private System.Windows.Forms.DateTimePicker dtp_End;
|
|
private System.Windows.Forms.Label lbl_EngineNo;
|
|
private System.Windows.Forms.TextBox txt_EngineNo;
|
|
private System.Windows.Forms.Label lbl_ModelNo;
|
|
private System.Windows.Forms.TextBox txt_ModelNo;
|
|
private System.Windows.Forms.Button btn_Query;
|
|
private System.Windows.Forms.Button btn_Export;
|
|
private System.Windows.Forms.DataGridView dgv_Data;
|
|
private System.Windows.Forms.Panel pnl_StatusBar;
|
|
}
|
|
}
|