This commit is contained in:
2025-11-20 15:13:29 +08:00
parent b48e0b79dd
commit 979afae645
28 changed files with 1299 additions and 345 deletions

View File

@@ -49,6 +49,7 @@ namespace FATrace.App
TabControlMain = new TabControl();
tabPage2 = new TabPage();
panel3 = new Panel();
pictureBox4 = new PictureBox();
btnWeightPrint = new Button();
txtCode = new TextBox();
label13 = new Label();
@@ -57,6 +58,7 @@ namespace FATrace.App
label8 = new Label();
label10 = new Label();
panel2 = new Panel();
pictureBox3 = new PictureBox();
lblRawUseStateTip = new Label();
btnClearRaw = new Button();
lblRawUseState = new Label();
@@ -73,6 +75,7 @@ namespace FATrace.App
label4 = new Label();
label3 = new Label();
panel1 = new Panel();
pictureBox2 = new PictureBox();
lblRawBeforeInfo = new Label();
btnRawName3 = new Button();
btnRawName2 = new Button();
@@ -109,8 +112,11 @@ namespace FATrace.App
TabControlMain.SuspendLayout();
tabPage2.SuspendLayout();
panel3.SuspendLayout();
((System.ComponentModel.ISupportInitialize)pictureBox4).BeginInit();
panel2.SuspendLayout();
((System.ComponentModel.ISupportInitialize)pictureBox3).BeginInit();
panel1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)pictureBox2).BeginInit();
tabPage3.SuspendLayout();
tabPage1.SuspendLayout();
groupBox1.SuspendLayout();
@@ -336,6 +342,7 @@ namespace FATrace.App
// panel3
//
panel3.BorderStyle = BorderStyle.FixedSingle;
panel3.Controls.Add(pictureBox4);
panel3.Controls.Add(btnWeightPrint);
panel3.Controls.Add(txtCode);
panel3.Controls.Add(label13);
@@ -349,6 +356,17 @@ namespace FATrace.App
panel3.Size = new Size(878, 176);
panel3.TabIndex = 3;
//
// pictureBox4
//
pictureBox4.BackgroundImageLayout = ImageLayout.None;
pictureBox4.Image = Properties.Resources.;
pictureBox4.Location = new Point(7, 3);
pictureBox4.Name = "pictureBox4";
pictureBox4.Size = new Size(35, 35);
pictureBox4.SizeMode = PictureBoxSizeMode.StretchImage;
pictureBox4.TabIndex = 15;
pictureBox4.TabStop = false;
//
// btnWeightPrint
//
btnWeightPrint.Font = new Font("Microsoft YaHei UI", 15.75F, FontStyle.Bold, GraphicsUnit.Point, 134);
@@ -367,6 +385,7 @@ namespace FATrace.App
txtCode.ForeColor = Color.Blue;
txtCode.Location = new Point(129, 127);
txtCode.Name = "txtCode";
txtCode.ReadOnly = true;
txtCode.Size = new Size(410, 33);
txtCode.TabIndex = 16;
txtCode.Text = "YG05030013,202509231802,3,01,0001";
@@ -387,7 +406,7 @@ namespace FATrace.App
label9.AutoSize = true;
label9.Font = new Font("Microsoft YaHei UI", 14.25F, FontStyle.Regular, GraphicsUnit.Point, 134);
label9.ForeColor = SystemColors.WindowFrame;
label9.Location = new Point(235, 56);
label9.Location = new Point(235, 63);
label9.Name = "label9";
label9.Size = new Size(24, 25);
label9.TabIndex = 11;
@@ -396,7 +415,7 @@ namespace FATrace.App
// txtRtWeight
//
txtRtWeight.Font = new Font("Microsoft YaHei UI", 14.25F, FontStyle.Regular, GraphicsUnit.Point, 134);
txtRtWeight.Location = new Point(129, 50);
txtRtWeight.Location = new Point(129, 57);
txtRtWeight.Name = "txtRtWeight";
txtRtWeight.Size = new Size(100, 32);
txtRtWeight.TabIndex = 10;
@@ -404,11 +423,11 @@ namespace FATrace.App
// label8
//
label8.AutoSize = true;
label8.Font = new Font("Microsoft YaHei UI", 15.75F, FontStyle.Bold, GraphicsUnit.Point, 134);
label8.Font = new Font("Microsoft YaHei UI", 18F, FontStyle.Bold);
label8.ForeColor = SystemColors.ControlDarkDark;
label8.Location = new Point(14, 4);
label8.Location = new Point(44, 5);
label8.Name = "label8";
label8.Size = new Size(96, 28);
label8.Size = new Size(110, 31);
label8.TabIndex = 9;
label8.Text = "称重信息";
//
@@ -417,7 +436,7 @@ namespace FATrace.App
label10.AutoSize = true;
label10.Font = new Font("Microsoft YaHei UI", 14.25F, FontStyle.Bold, GraphicsUnit.Point, 134);
label10.ForeColor = SystemColors.WindowFrame;
label10.Location = new Point(30, 53);
label10.Location = new Point(30, 60);
label10.Name = "label10";
label10.Size = new Size(107, 26);
label10.TabIndex = 9;
@@ -426,6 +445,7 @@ namespace FATrace.App
// panel2
//
panel2.BorderStyle = BorderStyle.FixedSingle;
panel2.Controls.Add(pictureBox3);
panel2.Controls.Add(lblRawUseStateTip);
panel2.Controls.Add(btnClearRaw);
panel2.Controls.Add(lblRawUseState);
@@ -447,12 +467,23 @@ namespace FATrace.App
panel2.Size = new Size(878, 156);
panel2.TabIndex = 2;
//
// pictureBox3
//
pictureBox3.BackgroundImageLayout = ImageLayout.None;
pictureBox3.Image = Properties.Resources.;
pictureBox3.Location = new Point(7, 5);
pictureBox3.Name = "pictureBox3";
pictureBox3.Size = new Size(35, 35);
pictureBox3.SizeMode = PictureBoxSizeMode.StretchImage;
pictureBox3.TabIndex = 13;
pictureBox3.TabStop = false;
//
// lblRawUseStateTip
//
lblRawUseStateTip.BackColor = Color.LightSalmon;
lblRawUseStateTip.Font = new Font("Microsoft YaHei UI", 14.25F, FontStyle.Bold, GraphicsUnit.Point, 134);
lblRawUseStateTip.ForeColor = SystemColors.ButtonHighlight;
lblRawUseStateTip.Location = new Point(159, 106);
lblRawUseStateTip.Location = new Point(159, 102);
lblRawUseStateTip.Name = "lblRawUseStateTip";
lblRawUseStateTip.Size = new Size(247, 34);
lblRawUseStateTip.TabIndex = 11;
@@ -470,6 +501,7 @@ namespace FATrace.App
btnClearRaw.TabIndex = 10;
btnClearRaw.Text = "清零当前原料";
btnClearRaw.UseVisualStyleBackColor = true;
btnClearRaw.Click += btnClearRaw_Click;
//
// lblRawUseState
//
@@ -489,7 +521,7 @@ namespace FATrace.App
label11.AutoSize = true;
label11.Font = new Font("Microsoft YaHei UI", 14.25F, FontStyle.Regular, GraphicsUnit.Point, 134);
label11.ForeColor = SystemColors.WindowFrame;
label11.Location = new Point(819, 51);
label11.Location = new Point(819, 54);
label11.Name = "label11";
label11.Size = new Size(36, 25);
label11.TabIndex = 14;
@@ -510,7 +542,7 @@ namespace FATrace.App
// txtRemainWeight
//
txtRemainWeight.Font = new Font("Microsoft YaHei UI", 14.25F, FontStyle.Regular, GraphicsUnit.Point, 134);
txtRemainWeight.Location = new Point(715, 46);
txtRemainWeight.Location = new Point(715, 49);
txtRemainWeight.Name = "txtRemainWeight";
txtRemainWeight.Size = new Size(100, 32);
txtRemainWeight.TabIndex = 13;
@@ -518,7 +550,7 @@ namespace FATrace.App
// txtShelfLife
//
txtShelfLife.Font = new Font("Microsoft YaHei UI", 14.25F, FontStyle.Regular, GraphicsUnit.Point, 134);
txtShelfLife.Location = new Point(504, 46);
txtShelfLife.Location = new Point(504, 49);
txtShelfLife.Name = "txtShelfLife";
txtShelfLife.Size = new Size(100, 32);
txtShelfLife.TabIndex = 7;
@@ -528,7 +560,7 @@ namespace FATrace.App
label12.AutoSize = true;
label12.Font = new Font("Microsoft YaHei UI", 14.25F, FontStyle.Bold, GraphicsUnit.Point, 134);
label12.ForeColor = SystemColors.WindowFrame;
label12.Location = new Point(618, 49);
label12.Location = new Point(618, 52);
label12.Name = "label12";
label12.Size = new Size(107, 26);
label12.TabIndex = 12;
@@ -539,7 +571,7 @@ namespace FATrace.App
label6.AutoSize = true;
label6.Font = new Font("Microsoft YaHei UI", 14.25F, FontStyle.Bold, GraphicsUnit.Point, 134);
label6.ForeColor = SystemColors.WindowFrame;
label6.Location = new Point(428, 49);
label6.Location = new Point(428, 52);
label6.Name = "label6";
label6.Size = new Size(88, 26);
label6.TabIndex = 6;
@@ -548,7 +580,7 @@ namespace FATrace.App
// txtBatch
//
txtBatch.Font = new Font("Microsoft YaHei UI", 14.25F, FontStyle.Regular, GraphicsUnit.Point, 134);
txtBatch.Location = new Point(315, 46);
txtBatch.Location = new Point(315, 49);
txtBatch.Name = "txtBatch";
txtBatch.Size = new Size(100, 32);
txtBatch.TabIndex = 5;
@@ -558,7 +590,7 @@ namespace FATrace.App
label7.AutoSize = true;
label7.Font = new Font("Microsoft YaHei UI", 14.25F, FontStyle.Bold, GraphicsUnit.Point, 134);
label7.ForeColor = SystemColors.WindowFrame;
label7.Location = new Point(260, 49);
label7.Location = new Point(260, 52);
label7.Name = "label7";
label7.Size = new Size(69, 26);
label7.TabIndex = 4;
@@ -569,7 +601,7 @@ namespace FATrace.App
label5.AutoSize = true;
label5.Font = new Font("Microsoft YaHei UI", 14.25F, FontStyle.Regular, GraphicsUnit.Point, 134);
label5.ForeColor = SystemColors.WindowFrame;
label5.Location = new Point(221, 52);
label5.Location = new Point(221, 55);
label5.Name = "label5";
label5.Size = new Size(36, 25);
label5.TabIndex = 3;
@@ -578,7 +610,7 @@ namespace FATrace.App
// txtWeight
//
txtWeight.Font = new Font("Microsoft YaHei UI", 14.25F, FontStyle.Regular, GraphicsUnit.Point, 134);
txtWeight.Location = new Point(115, 46);
txtWeight.Location = new Point(115, 49);
txtWeight.Name = "txtWeight";
txtWeight.Size = new Size(100, 32);
txtWeight.TabIndex = 2;
@@ -588,7 +620,7 @@ namespace FATrace.App
label4.AutoSize = true;
label4.Font = new Font("Microsoft YaHei UI", 14.25F, FontStyle.Bold, GraphicsUnit.Point, 134);
label4.ForeColor = SystemColors.WindowFrame;
label4.Location = new Point(22, 49);
label4.Location = new Point(22, 52);
label4.Name = "label4";
label4.Size = new Size(107, 26);
label4.TabIndex = 1;
@@ -597,17 +629,18 @@ namespace FATrace.App
// label3
//
label3.AutoSize = true;
label3.Font = new Font("Microsoft YaHei UI", 15.75F, FontStyle.Bold, GraphicsUnit.Point, 134);
label3.Font = new Font("Microsoft YaHei UI", 18F, FontStyle.Bold);
label3.ForeColor = SystemColors.ControlDarkDark;
label3.Location = new Point(14, 6);
label3.Location = new Point(42, 6);
label3.Name = "label3";
label3.Size = new Size(96, 28);
label3.Size = new Size(110, 31);
label3.TabIndex = 0;
label3.Text = "信息输入";
//
// panel1
//
panel1.BorderStyle = BorderStyle.FixedSingle;
panel1.Controls.Add(pictureBox2);
panel1.Controls.Add(lblRawBeforeInfo);
panel1.Controls.Add(btnRawName3);
panel1.Controls.Add(btnRawName2);
@@ -619,6 +652,17 @@ namespace FATrace.App
panel1.Size = new Size(878, 170);
panel1.TabIndex = 1;
//
// pictureBox2
//
pictureBox2.BackgroundImageLayout = ImageLayout.None;
pictureBox2.Image = Properties.Resources.;
pictureBox2.Location = new Point(8, 6);
pictureBox2.Name = "pictureBox2";
pictureBox2.Size = new Size(35, 35);
pictureBox2.SizeMode = PictureBoxSizeMode.StretchImage;
pictureBox2.TabIndex = 12;
pictureBox2.TabStop = false;
//
// lblRawBeforeInfo
//
lblRawBeforeInfo.BackColor = Color.Tomato;
@@ -668,11 +712,11 @@ namespace FATrace.App
// label2
//
label2.AutoSize = true;
label2.Font = new Font("Microsoft YaHei UI", 15.75F, FontStyle.Bold, GraphicsUnit.Point, 134);
label2.Font = new Font("Microsoft YaHei UI", 18F, FontStyle.Bold);
label2.ForeColor = SystemColors.ControlDarkDark;
label2.Location = new Point(7, 6);
label2.Location = new Point(45, 8);
label2.Name = "label2";
label2.Size = new Size(138, 28);
label2.Size = new Size(158, 31);
label2.TabIndex = 0;
label2.Text = "选中原料名称";
//
@@ -925,6 +969,7 @@ namespace FATrace.App
StartPosition = FormStartPosition.CenterScreen;
Text = "管理界面";
WindowState = FormWindowState.Maximized;
FormClosed += frmMain_FormClosed;
Load += frmMain_Load;
statusStrip1.ResumeLayout(false);
statusStrip1.PerformLayout();
@@ -938,10 +983,13 @@ namespace FATrace.App
tabPage2.ResumeLayout(false);
panel3.ResumeLayout(false);
panel3.PerformLayout();
((System.ComponentModel.ISupportInitialize)pictureBox4).EndInit();
panel2.ResumeLayout(false);
panel2.PerformLayout();
((System.ComponentModel.ISupportInitialize)pictureBox3).EndInit();
panel1.ResumeLayout(false);
panel1.PerformLayout();
((System.ComponentModel.ISupportInitialize)pictureBox2).EndInit();
tabPage3.ResumeLayout(false);
tabPage3.PerformLayout();
tabPage1.ResumeLayout(false);
@@ -1026,5 +1074,8 @@ namespace FATrace.App
private Label label26;
private Label label27;
private Button btnMain;
private PictureBox pictureBox2;
private PictureBox pictureBox3;
private PictureBox pictureBox4;
}
}