|
|
@@ -28,20 +28,301 @@
|
|
|
/// </summary>
|
|
|
private void InitializeComponent()
|
|
|
{
|
|
|
+ this.components = new System.ComponentModel.Container();
|
|
|
+ this.PrintLabel = new System.Windows.Forms.ComboBox();
|
|
|
+ this.label2 = new System.Windows.Forms.Label();
|
|
|
+ this.label1 = new System.Windows.Forms.Label();
|
|
|
+ this.Printer = new UAS_MES.CustomControl.ComBoxWithFocus.PrinterCombox();
|
|
|
+ this.mcd_remainqty = new UAS_MES.CustomControl.ValueLabel.ValueNumLabel(this.components);
|
|
|
+ this.mcd_okqty = new UAS_MES.CustomControl.ValueLabel.ValueNumLabel(this.components);
|
|
|
+ this.pr_code = new UAS_MES.CustomControl.ValueLabel.ValueLabel();
|
|
|
+ this.pr_detail = new UAS_MES.CustomControl.ValueLabel.ValueLabel();
|
|
|
+ this.ms_makecode = new UAS_MES.CustomControl.ValueLabel.ValueLabel();
|
|
|
+ this.PrintNum = new UAS_MES.CustomControl.TextBoxWithIcon.NumOnlyTextBox();
|
|
|
+ this.pr_detail_label = new System.Windows.Forms.Label();
|
|
|
+ this.sncode_label = new System.Windows.Forms.Label();
|
|
|
+ this.sncode = new UAS_MES.CustomControl.TextBoxWithIcon.EnterTextBox();
|
|
|
+ this.OperateResult = new UAS_MES.CustomControl.RichText.RichTextAutoBottom();
|
|
|
+ this.label4 = new System.Windows.Forms.Label();
|
|
|
+ this.mcd_remainqty_label = new System.Windows.Forms.Label();
|
|
|
+ this.mcd_okqty_label = new System.Windows.Forms.Label();
|
|
|
+ this.pr_code_label = new System.Windows.Forms.Label();
|
|
|
+ this.ms_makecode_label = new System.Windows.Forms.Label();
|
|
|
this.SuspendLayout();
|
|
|
//
|
|
|
+ // PrintLabel
|
|
|
+ //
|
|
|
+ this.PrintLabel.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
|
|
+ this.PrintLabel.FormattingEnabled = true;
|
|
|
+ this.PrintLabel.Location = new System.Drawing.Point(1116, 113);
|
|
|
+ this.PrintLabel.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
|
|
+ this.PrintLabel.Name = "PrintLabel";
|
|
|
+ this.PrintLabel.Size = new System.Drawing.Size(201, 23);
|
|
|
+ this.PrintLabel.TabIndex = 181;
|
|
|
+ //
|
|
|
+ // label2
|
|
|
+ //
|
|
|
+ this.label2.AutoSize = true;
|
|
|
+ this.label2.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
+ this.label2.Location = new System.Drawing.Point(1013, 50);
|
|
|
+ this.label2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
|
|
+ this.label2.Name = "label2";
|
|
|
+ this.label2.Size = new System.Drawing.Size(72, 27);
|
|
|
+ this.label2.TabIndex = 180;
|
|
|
+ this.label2.Text = "打印机";
|
|
|
+ //
|
|
|
+ // label1
|
|
|
+ //
|
|
|
+ this.label1.AutoSize = true;
|
|
|
+ this.label1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
+ this.label1.Location = new System.Drawing.Point(1013, 113);
|
|
|
+ this.label1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
|
|
+ this.label1.Name = "label1";
|
|
|
+ this.label1.Size = new System.Drawing.Size(52, 27);
|
|
|
+ this.label1.TabIndex = 179;
|
|
|
+ this.label1.Text = "标签";
|
|
|
+ //
|
|
|
+ // Printer
|
|
|
+ //
|
|
|
+ this.Printer.Location = new System.Drawing.Point(1116, 50);
|
|
|
+ this.Printer.Margin = new System.Windows.Forms.Padding(5);
|
|
|
+ this.Printer.Name = "Printer";
|
|
|
+ this.Printer.Size = new System.Drawing.Size(203, 31);
|
|
|
+ this.Printer.TabIndex = 178;
|
|
|
+ //
|
|
|
+ // mcd_remainqty
|
|
|
+ //
|
|
|
+ this.mcd_remainqty.AutoSize = true;
|
|
|
+ this.mcd_remainqty.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
+ this.mcd_remainqty.Location = new System.Drawing.Point(483, 113);
|
|
|
+ this.mcd_remainqty.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
|
|
+ this.mcd_remainqty.Name = "mcd_remainqty";
|
|
|
+ this.mcd_remainqty.Size = new System.Drawing.Size(24, 27);
|
|
|
+ this.mcd_remainqty.TabIndex = 177;
|
|
|
+ this.mcd_remainqty.Text = "0";
|
|
|
+ //
|
|
|
+ // mcd_okqty
|
|
|
+ //
|
|
|
+ this.mcd_okqty.AutoSize = true;
|
|
|
+ this.mcd_okqty.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
+ this.mcd_okqty.Location = new System.Drawing.Point(189, 113);
|
|
|
+ this.mcd_okqty.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
|
|
+ this.mcd_okqty.Name = "mcd_okqty";
|
|
|
+ this.mcd_okqty.Size = new System.Drawing.Size(24, 27);
|
|
|
+ this.mcd_okqty.TabIndex = 176;
|
|
|
+ this.mcd_okqty.Text = "0";
|
|
|
+ //
|
|
|
+ // pr_code
|
|
|
+ //
|
|
|
+ this.pr_code.AutoSize = true;
|
|
|
+ this.pr_code.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
+ this.pr_code.Location = new System.Drawing.Point(483, 52);
|
|
|
+ this.pr_code.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
|
|
+ this.pr_code.Name = "pr_code";
|
|
|
+ this.pr_code.Size = new System.Drawing.Size(0, 27);
|
|
|
+ this.pr_code.TabIndex = 175;
|
|
|
+ //
|
|
|
+ // pr_detail
|
|
|
+ //
|
|
|
+ this.pr_detail.AutoSize = true;
|
|
|
+ this.pr_detail.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
+ this.pr_detail.Location = new System.Drawing.Point(777, 52);
|
|
|
+ this.pr_detail.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
|
|
+ this.pr_detail.Name = "pr_detail";
|
|
|
+ this.pr_detail.Size = new System.Drawing.Size(0, 27);
|
|
|
+ this.pr_detail.TabIndex = 174;
|
|
|
+ //
|
|
|
+ // ms_makecode
|
|
|
+ //
|
|
|
+ this.ms_makecode.AutoSize = true;
|
|
|
+ this.ms_makecode.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
+ this.ms_makecode.Location = new System.Drawing.Point(189, 52);
|
|
|
+ this.ms_makecode.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
|
|
+ this.ms_makecode.Name = "ms_makecode";
|
|
|
+ this.ms_makecode.Size = new System.Drawing.Size(0, 27);
|
|
|
+ this.ms_makecode.TabIndex = 173;
|
|
|
+ //
|
|
|
+ // PrintNum
|
|
|
+ //
|
|
|
+ this.PrintNum.AllPower = null;
|
|
|
+ this.PrintNum.BackColor = System.Drawing.Color.White;
|
|
|
+ this.PrintNum.ID = null;
|
|
|
+ this.PrintNum.Location = new System.Drawing.Point(775, 113);
|
|
|
+ this.PrintNum.Margin = new System.Windows.Forms.Padding(4);
|
|
|
+ this.PrintNum.Name = "PrintNum";
|
|
|
+ this.PrintNum.Negative = false;
|
|
|
+ this.PrintNum.Power = null;
|
|
|
+ this.PrintNum.Size = new System.Drawing.Size(219, 25);
|
|
|
+ this.PrintNum.Str = null;
|
|
|
+ this.PrintNum.Str1 = null;
|
|
|
+ this.PrintNum.Str2 = null;
|
|
|
+ this.PrintNum.TabIndex = 172;
|
|
|
+ //
|
|
|
+ // pr_detail_label
|
|
|
+ //
|
|
|
+ this.pr_detail_label.AutoSize = true;
|
|
|
+ this.pr_detail_label.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
+ this.pr_detail_label.Location = new System.Drawing.Point(648, 52);
|
|
|
+ this.pr_detail_label.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
|
|
+ this.pr_detail_label.Name = "pr_detail_label";
|
|
|
+ this.pr_detail_label.Size = new System.Drawing.Size(92, 27);
|
|
|
+ this.pr_detail_label.TabIndex = 171;
|
|
|
+ this.pr_detail_label.Text = "产品名称";
|
|
|
+ //
|
|
|
+ // sncode_label
|
|
|
+ //
|
|
|
+ this.sncode_label.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
|
|
+ | System.Windows.Forms.AnchorStyles.Left)));
|
|
|
+ this.sncode_label.AutoSize = true;
|
|
|
+ this.sncode_label.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
+ this.sncode_label.Location = new System.Drawing.Point(64, 561);
|
|
|
+ this.sncode_label.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
|
|
+ this.sncode_label.Name = "sncode_label";
|
|
|
+ this.sncode_label.Size = new System.Drawing.Size(72, 27);
|
|
|
+ this.sncode_label.TabIndex = 170;
|
|
|
+ this.sncode_label.Text = "序列号";
|
|
|
+ //
|
|
|
+ // sncode
|
|
|
+ //
|
|
|
+ this.sncode.AllPower = "ifall";
|
|
|
+ this.sncode.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
|
|
+ | System.Windows.Forms.AnchorStyles.Left)));
|
|
|
+ this.sncode.BackColor = System.Drawing.Color.White;
|
|
|
+ this.sncode.ID = null;
|
|
|
+ this.sncode.Location = new System.Drawing.Point(183, 562);
|
|
|
+ this.sncode.Margin = new System.Windows.Forms.Padding(4);
|
|
|
+ this.sncode.Name = "sncode";
|
|
|
+ this.sncode.Power = null;
|
|
|
+ this.sncode.Size = new System.Drawing.Size(260, 25);
|
|
|
+ this.sncode.Str = null;
|
|
|
+ this.sncode.Str1 = null;
|
|
|
+ this.sncode.Str2 = null;
|
|
|
+ this.sncode.TabIndex = 169;
|
|
|
+ this.sncode.Tag = "ifwrite";
|
|
|
+ //
|
|
|
+ // OperateResult
|
|
|
+ //
|
|
|
+ this.OperateResult.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
+ this.OperateResult.Location = new System.Drawing.Point(69, 163);
|
|
|
+ this.OperateResult.Margin = new System.Windows.Forms.Padding(4);
|
|
|
+ this.OperateResult.Name = "OperateResult";
|
|
|
+ this.OperateResult.Size = new System.Drawing.Size(940, 380);
|
|
|
+ this.OperateResult.TabIndex = 168;
|
|
|
+ this.OperateResult.Text = "";
|
|
|
+ //
|
|
|
+ // label4
|
|
|
+ //
|
|
|
+ this.label4.AutoSize = true;
|
|
|
+ this.label4.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
+ this.label4.Location = new System.Drawing.Point(648, 113);
|
|
|
+ this.label4.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
|
|
+ this.label4.Name = "label4";
|
|
|
+ this.label4.Size = new System.Drawing.Size(92, 27);
|
|
|
+ this.label4.TabIndex = 167;
|
|
|
+ this.label4.Text = "打印张数";
|
|
|
+ //
|
|
|
+ // mcd_remainqty_label
|
|
|
+ //
|
|
|
+ this.mcd_remainqty_label.AutoSize = true;
|
|
|
+ this.mcd_remainqty_label.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
+ this.mcd_remainqty_label.Location = new System.Drawing.Point(356, 113);
|
|
|
+ this.mcd_remainqty_label.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
|
|
+ this.mcd_remainqty_label.Name = "mcd_remainqty_label";
|
|
|
+ this.mcd_remainqty_label.Size = new System.Drawing.Size(72, 27);
|
|
|
+ this.mcd_remainqty_label.TabIndex = 166;
|
|
|
+ this.mcd_remainqty_label.Text = "剩余数";
|
|
|
+ //
|
|
|
+ // mcd_okqty_label
|
|
|
+ //
|
|
|
+ this.mcd_okqty_label.AutoSize = true;
|
|
|
+ this.mcd_okqty_label.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
+ this.mcd_okqty_label.Location = new System.Drawing.Point(64, 113);
|
|
|
+ this.mcd_okqty_label.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
|
|
+ this.mcd_okqty_label.Name = "mcd_okqty_label";
|
|
|
+ this.mcd_okqty_label.Size = new System.Drawing.Size(92, 27);
|
|
|
+ this.mcd_okqty_label.TabIndex = 165;
|
|
|
+ this.mcd_okqty_label.Text = "打印计数";
|
|
|
+ //
|
|
|
+ // pr_code_label
|
|
|
+ //
|
|
|
+ this.pr_code_label.AutoSize = true;
|
|
|
+ this.pr_code_label.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
+ this.pr_code_label.Location = new System.Drawing.Point(356, 52);
|
|
|
+ this.pr_code_label.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
|
|
+ this.pr_code_label.Name = "pr_code_label";
|
|
|
+ this.pr_code_label.Size = new System.Drawing.Size(92, 27);
|
|
|
+ this.pr_code_label.TabIndex = 164;
|
|
|
+ this.pr_code_label.Text = "产品编号";
|
|
|
+ //
|
|
|
+ // ms_makecode_label
|
|
|
+ //
|
|
|
+ this.ms_makecode_label.AutoSize = true;
|
|
|
+ this.ms_makecode_label.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
+ this.ms_makecode_label.Location = new System.Drawing.Point(64, 52);
|
|
|
+ this.ms_makecode_label.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
|
|
+ this.ms_makecode_label.Name = "ms_makecode_label";
|
|
|
+ this.ms_makecode_label.Size = new System.Drawing.Size(92, 27);
|
|
|
+ this.ms_makecode_label.TabIndex = 163;
|
|
|
+ this.ms_makecode_label.Text = "归属工单";
|
|
|
+ //
|
|
|
// Make_ColorBoxLabelPrint
|
|
|
//
|
|
|
- this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
|
|
+ this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 15F);
|
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
|
- this.ClientSize = new System.Drawing.Size(284, 261);
|
|
|
+ this.ClientSize = new System.Drawing.Size(1344, 651);
|
|
|
+ this.Controls.Add(this.PrintLabel);
|
|
|
+ this.Controls.Add(this.label2);
|
|
|
+ this.Controls.Add(this.label1);
|
|
|
+ this.Controls.Add(this.Printer);
|
|
|
+ this.Controls.Add(this.mcd_remainqty);
|
|
|
+ this.Controls.Add(this.mcd_okqty);
|
|
|
+ this.Controls.Add(this.pr_code);
|
|
|
+ this.Controls.Add(this.pr_detail);
|
|
|
+ this.Controls.Add(this.ms_makecode);
|
|
|
+ this.Controls.Add(this.PrintNum);
|
|
|
+ this.Controls.Add(this.pr_detail_label);
|
|
|
+ this.Controls.Add(this.sncode_label);
|
|
|
+ this.Controls.Add(this.sncode);
|
|
|
+ this.Controls.Add(this.OperateResult);
|
|
|
+ this.Controls.Add(this.label4);
|
|
|
+ this.Controls.Add(this.mcd_remainqty_label);
|
|
|
+ this.Controls.Add(this.mcd_okqty_label);
|
|
|
+ this.Controls.Add(this.pr_code_label);
|
|
|
+ this.Controls.Add(this.ms_makecode_label);
|
|
|
+ this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
|
|
|
+ this.Margin = new System.Windows.Forms.Padding(4);
|
|
|
this.Name = "Make_ColorBoxLabelPrint";
|
|
|
this.Tag = "Make!ColorBoxLabelPrint";
|
|
|
- this.Text = "Make_ColorBoxLabelPrint";
|
|
|
+ this.Text = "标签打印";
|
|
|
+ this.Activated += new System.EventHandler(this.Make_ColorBoxLabelPrint_Activated);
|
|
|
+ this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.Make_ColorBoxLabelPrint_FormClosing);
|
|
|
+ this.Load += new System.EventHandler(this.Make_ColorBoxLabelPrint_Load);
|
|
|
+ this.SizeChanged += new System.EventHandler(this.Make_ColorBoxLabelPrint_SizeChanged);
|
|
|
this.ResumeLayout(false);
|
|
|
+ this.PerformLayout();
|
|
|
|
|
|
}
|
|
|
|
|
|
#endregion
|
|
|
+
|
|
|
+ private System.Windows.Forms.ComboBox PrintLabel;
|
|
|
+ private System.Windows.Forms.Label label2;
|
|
|
+ private System.Windows.Forms.Label label1;
|
|
|
+ private CustomControl.ComBoxWithFocus.PrinterCombox Printer;
|
|
|
+ private CustomControl.ValueLabel.ValueNumLabel mcd_remainqty;
|
|
|
+ private CustomControl.ValueLabel.ValueNumLabel mcd_okqty;
|
|
|
+ private CustomControl.ValueLabel.ValueLabel pr_code;
|
|
|
+ private CustomControl.ValueLabel.ValueLabel pr_detail;
|
|
|
+ private CustomControl.ValueLabel.ValueLabel ms_makecode;
|
|
|
+ private CustomControl.TextBoxWithIcon.NumOnlyTextBox PrintNum;
|
|
|
+ private System.Windows.Forms.Label pr_detail_label;
|
|
|
+ private System.Windows.Forms.Label sncode_label;
|
|
|
+ private CustomControl.TextBoxWithIcon.EnterTextBox sncode;
|
|
|
+ private CustomControl.RichText.RichTextAutoBottom OperateResult;
|
|
|
+ private System.Windows.Forms.Label label4;
|
|
|
+ private System.Windows.Forms.Label mcd_remainqty_label;
|
|
|
+ private System.Windows.Forms.Label mcd_okqty_label;
|
|
|
+ private System.Windows.Forms.Label pr_code_label;
|
|
|
+ private System.Windows.Forms.Label ms_makecode_label;
|
|
|
}
|
|
|
}
|