328 lines
12 KiB
C#
328 lines
12 KiB
C#
namespace printsoftware
|
|
{
|
|
partial class Form1
|
|
{
|
|
/// <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()
|
|
{
|
|
dateTimePicker1 = new DateTimePicker();
|
|
groupBox1 = new GroupBox();
|
|
flowLayoutPanel1 = new FlowLayoutPanel();
|
|
label1 = new Label();
|
|
button2 = new Button();
|
|
dateTimePicker2 = new DateTimePicker();
|
|
label2 = new Label();
|
|
button1 = new Button();
|
|
pictureBox1 = new PictureBox();
|
|
label3 = new Label();
|
|
label4 = new Label();
|
|
dataGridView1 = new DataGridView();
|
|
groupBox2 = new GroupBox();
|
|
groupBox3 = new GroupBox();
|
|
textBox1 = new TextBox();
|
|
label5 = new Label();
|
|
label6 = new Label();
|
|
textBox2 = new TextBox();
|
|
label7 = new Label();
|
|
textBox3 = new TextBox();
|
|
label8 = new Label();
|
|
textBox4 = new TextBox();
|
|
groupBox1.SuspendLayout();
|
|
flowLayoutPanel1.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)pictureBox1).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)dataGridView1).BeginInit();
|
|
groupBox2.SuspendLayout();
|
|
groupBox3.SuspendLayout();
|
|
SuspendLayout();
|
|
//
|
|
// dateTimePicker1
|
|
//
|
|
dateTimePicker1.Location = new Point(78, 3);
|
|
dateTimePicker1.Name = "dateTimePicker1";
|
|
dateTimePicker1.Size = new Size(280, 27);
|
|
dateTimePicker1.TabIndex = 0;
|
|
dateTimePicker1.Value = new DateTime(2024, 12, 4, 9, 39, 31, 255);
|
|
|
|
//
|
|
// groupBox1
|
|
//
|
|
groupBox1.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right;
|
|
groupBox1.Controls.Add(flowLayoutPanel1);
|
|
groupBox1.Controls.Add(button2);
|
|
groupBox1.Location = new Point(0, 135);
|
|
groupBox1.Name = "groupBox1";
|
|
groupBox1.Size = new Size(1320, 125);
|
|
groupBox1.TabIndex = 1;
|
|
groupBox1.TabStop = false;
|
|
groupBox1.Text = "选择日期";
|
|
//
|
|
// flowLayoutPanel1
|
|
//
|
|
flowLayoutPanel1.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left;
|
|
flowLayoutPanel1.Controls.Add(label1);
|
|
flowLayoutPanel1.Controls.Add(dateTimePicker1);
|
|
flowLayoutPanel1.Controls.Add(label2);
|
|
flowLayoutPanel1.Controls.Add(dateTimePicker2);
|
|
flowLayoutPanel1.Controls.Add(label5);
|
|
flowLayoutPanel1.Controls.Add(textBox1);
|
|
flowLayoutPanel1.Controls.Add(label6);
|
|
flowLayoutPanel1.Controls.Add(textBox2);
|
|
flowLayoutPanel1.Controls.Add(label7);
|
|
flowLayoutPanel1.Controls.Add(textBox3);
|
|
flowLayoutPanel1.Controls.Add(label8);
|
|
flowLayoutPanel1.Controls.Add(textBox4);
|
|
flowLayoutPanel1.Location = new Point(8, 23);
|
|
flowLayoutPanel1.Name = "flowLayoutPanel1";
|
|
flowLayoutPanel1.Size = new Size(1052, 96);
|
|
flowLayoutPanel1.TabIndex = 7;
|
|
//
|
|
// label1
|
|
//
|
|
label1.AutoSize = true;
|
|
label1.Location = new Point(3, 0);
|
|
label1.Name = "label1";
|
|
label1.Size = new Size(69, 20);
|
|
label1.TabIndex = 1;
|
|
label1.Text = "开始时间";
|
|
|
|
//
|
|
// button2
|
|
//
|
|
button2.BackColor = SystemColors.HotTrack;
|
|
button2.Dock = DockStyle.Right;
|
|
button2.Font = new Font("Microsoft YaHei UI", 20F);
|
|
button2.Location = new Point(1058, 23);
|
|
button2.Name = "button2";
|
|
button2.Size = new Size(259, 99);
|
|
button2.TabIndex = 4;
|
|
button2.Text = "查询";
|
|
button2.UseVisualStyleBackColor = false;
|
|
button2.Click += button2_Click;
|
|
//
|
|
// dateTimePicker2
|
|
//
|
|
dateTimePicker2.Location = new Point(439, 3);
|
|
dateTimePicker2.Name = "dateTimePicker2";
|
|
dateTimePicker2.Size = new Size(268, 27);
|
|
dateTimePicker2.TabIndex = 3;
|
|
dateTimePicker2.Value = new DateTime(2024, 12, 4, 9, 39, 31, 259);
|
|
//
|
|
// label2
|
|
//
|
|
label2.AutoSize = true;
|
|
label2.Location = new Point(364, 0);
|
|
label2.Name = "label2";
|
|
label2.Size = new Size(69, 20);
|
|
label2.TabIndex = 2;
|
|
label2.Text = "结束时间";
|
|
//
|
|
// button1
|
|
//
|
|
button1.BackColor = SystemColors.Highlight;
|
|
button1.Dock = DockStyle.Bottom;
|
|
button1.Font = new Font("Microsoft YaHei UI", 20F);
|
|
button1.ForeColor = SystemColors.Desktop;
|
|
button1.Location = new Point(3, 343);
|
|
button1.Name = "button1";
|
|
button1.Size = new Size(1288, 61);
|
|
button1.TabIndex = 4;
|
|
button1.Text = "打印";
|
|
button1.UseVisualStyleBackColor = false;
|
|
//
|
|
// pictureBox1
|
|
//
|
|
pictureBox1.Image = Properties.Resources._61b96dc0c398f5084250ecd5f40a43f;
|
|
pictureBox1.Location = new Point(8, 23);
|
|
pictureBox1.Name = "pictureBox1";
|
|
pictureBox1.Size = new Size(305, 117);
|
|
pictureBox1.TabIndex = 2;
|
|
pictureBox1.TabStop = false;
|
|
//
|
|
// label3
|
|
//
|
|
label3.Location = new Point(0, 0);
|
|
label3.Name = "label3";
|
|
label3.Size = new Size(100, 23);
|
|
label3.TabIndex = 0;
|
|
//
|
|
// label4
|
|
//
|
|
label4.AutoSize = true;
|
|
label4.Font = new Font("Microsoft YaHei UI", 40F);
|
|
label4.ForeColor = SystemColors.HotTrack;
|
|
label4.Location = new Point(319, 23);
|
|
label4.Name = "label4";
|
|
label4.Size = new Size(727, 88);
|
|
label4.TabIndex = 3;
|
|
label4.Text = "北泽阀门 工单标签打印";
|
|
label4.TextAlign = ContentAlignment.TopCenter;
|
|
//
|
|
// dataGridView1
|
|
//
|
|
dataGridView1.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
dataGridView1.Dock = DockStyle.Fill;
|
|
dataGridView1.Location = new Point(3, 23);
|
|
dataGridView1.Name = "dataGridView1";
|
|
dataGridView1.RowHeadersWidth = 51;
|
|
dataGridView1.Size = new Size(1288, 320);
|
|
dataGridView1.TabIndex = 5;
|
|
//
|
|
// groupBox2
|
|
//
|
|
groupBox2.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
|
|
groupBox2.Controls.Add(dataGridView1);
|
|
groupBox2.Controls.Add(button1);
|
|
groupBox2.Location = new Point(0, 312);
|
|
groupBox2.Name = "groupBox2";
|
|
groupBox2.Size = new Size(1294, 407);
|
|
groupBox2.TabIndex = 6;
|
|
groupBox2.TabStop = false;
|
|
//
|
|
// groupBox3
|
|
//
|
|
groupBox3.Controls.Add(pictureBox1);
|
|
groupBox3.Controls.Add(label4);
|
|
groupBox3.Dock = DockStyle.Top;
|
|
groupBox3.Location = new Point(0, 0);
|
|
groupBox3.Name = "groupBox3";
|
|
groupBox3.Size = new Size(1316, 129);
|
|
groupBox3.TabIndex = 7;
|
|
groupBox3.TabStop = false;
|
|
//
|
|
// textBox1
|
|
//
|
|
textBox1.Location = new Point(773, 3);
|
|
textBox1.Name = "textBox1";
|
|
textBox1.Size = new Size(271, 27);
|
|
textBox1.TabIndex = 5;
|
|
|
|
//
|
|
// label5
|
|
//
|
|
label5.AutoSize = true;
|
|
label5.Location = new Point(713, 0);
|
|
label5.Name = "label5";
|
|
label5.Size = new Size(54, 20);
|
|
label5.TabIndex = 6;
|
|
label5.Text = "工单号";
|
|
//
|
|
// label6
|
|
//
|
|
label6.AutoSize = true;
|
|
label6.Location = new Point(3, 33);
|
|
label6.Name = "label6";
|
|
label6.Size = new Size(39, 20);
|
|
label6.TabIndex = 7;
|
|
label6.Text = "车间";
|
|
//
|
|
// textBox2
|
|
//
|
|
textBox2.Location = new Point(48, 36);
|
|
textBox2.Name = "textBox2";
|
|
textBox2.Size = new Size(310, 27);
|
|
textBox2.TabIndex = 8;
|
|
//
|
|
// label7
|
|
//
|
|
label7.AutoSize = true;
|
|
label7.Location = new Point(364, 33);
|
|
label7.Name = "label7";
|
|
label7.Size = new Size(24, 20);
|
|
label7.TabIndex = 9;
|
|
label7.Text = "组";
|
|
//
|
|
// textBox3
|
|
//
|
|
textBox3.Location = new Point(394, 36);
|
|
textBox3.Name = "textBox3";
|
|
textBox3.Size = new Size(313, 27);
|
|
textBox3.TabIndex = 10;
|
|
//
|
|
// label8
|
|
//
|
|
label8.AutoSize = true;
|
|
label8.Location = new Point(713, 33);
|
|
label8.Name = "label8";
|
|
label8.Size = new Size(24, 20);
|
|
label8.TabIndex = 11;
|
|
label8.Text = "线";
|
|
//
|
|
// textBox4
|
|
//
|
|
textBox4.Location = new Point(743, 36);
|
|
textBox4.Name = "textBox4";
|
|
textBox4.Size = new Size(301, 27);
|
|
textBox4.TabIndex = 12;
|
|
//
|
|
// Form1
|
|
//
|
|
AutoScaleDimensions = new SizeF(9F, 20F);
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
ClientSize = new Size(1316, 731);
|
|
Controls.Add(groupBox3);
|
|
Controls.Add(groupBox2);
|
|
Controls.Add(label3);
|
|
Controls.Add(groupBox1);
|
|
Name = "Form1";
|
|
Text = "北泽阀门工单标签打印软件";
|
|
groupBox1.ResumeLayout(false);
|
|
flowLayoutPanel1.ResumeLayout(false);
|
|
flowLayoutPanel1.PerformLayout();
|
|
((System.ComponentModel.ISupportInitialize)pictureBox1).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)dataGridView1).EndInit();
|
|
groupBox2.ResumeLayout(false);
|
|
groupBox3.ResumeLayout(false);
|
|
groupBox3.PerformLayout();
|
|
ResumeLayout(false);
|
|
}
|
|
|
|
#endregion
|
|
|
|
private DateTimePicker dateTimePicker1;
|
|
private GroupBox groupBox1;
|
|
private DateTimePicker dateTimePicker2;
|
|
private Label label2;
|
|
private Label label1;
|
|
private Button button1;
|
|
private PictureBox pictureBox1;
|
|
private Label label3;
|
|
private Label label4;
|
|
private Button button2;
|
|
private DataGridView dataGridView1;
|
|
private GroupBox groupBox2;
|
|
private GroupBox groupBox3;
|
|
private FlowLayoutPanel flowLayoutPanel1;
|
|
private Label label5;
|
|
private TextBox textBox1;
|
|
private Label label6;
|
|
private TextBox textBox2;
|
|
private Label label7;
|
|
private TextBox textBox3;
|
|
private Label label8;
|
|
private TextBox textBox4;
|
|
}
|
|
}
|