|
|
@@ -32,22 +32,22 @@
|
|
|
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.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.ma_prodcode = new UAS_MES.CustomControl.ValueLabel.ValueLabel();
|
|
|
+ this.pr_detail = new UAS_MES.CustomControl.ValueLabel.ValueLabel();
|
|
|
+ this.PrintNum = new UAS_MES.CustomControl.TextBoxWithIcon.NumOnlyTextBox();
|
|
|
+ this.sncode = new UAS_MES.CustomControl.TextBoxWithIcon.EnterTextBox();
|
|
|
+ this.OperateResult = new UAS_MES.CustomControl.RichText.RichTextAutoBottom();
|
|
|
+ this.ma_code = new System.Windows.Forms.Label();
|
|
|
this.SuspendLayout();
|
|
|
//
|
|
|
// PrintLabel
|
|
|
@@ -82,10 +82,89 @@
|
|
|
this.label1.TabIndex = 179;
|
|
|
this.label1.Text = "标签";
|
|
|
//
|
|
|
+ // 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(686, 67);
|
|
|
+ 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(110, 31);
|
|
|
+ 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(29, 678);
|
|
|
+ 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(86, 31);
|
|
|
+ this.sncode_label.TabIndex = 170;
|
|
|
+ this.sncode_label.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(686, 140);
|
|
|
+ this.label4.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
|
|
+ this.label4.Name = "label4";
|
|
|
+ this.label4.Size = new System.Drawing.Size(110, 31);
|
|
|
+ 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(358, 140);
|
|
|
+ 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(86, 31);
|
|
|
+ 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(29, 140);
|
|
|
+ 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(110, 31);
|
|
|
+ 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(358, 67);
|
|
|
+ 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(110, 31);
|
|
|
+ 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(29, 67);
|
|
|
+ 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(110, 31);
|
|
|
+ this.ms_makecode_label.TabIndex = 163;
|
|
|
+ this.ms_makecode_label.Text = "归属工单";
|
|
|
+ //
|
|
|
// Printer
|
|
|
//
|
|
|
this.Printer.Location = new System.Drawing.Point(1213, 65);
|
|
|
- this.Printer.Margin = new System.Windows.Forms.Padding(6, 6, 6, 6);
|
|
|
+ this.Printer.Margin = new System.Windows.Forms.Padding(6);
|
|
|
this.Printer.Name = "Printer";
|
|
|
this.Printer.Size = new System.Drawing.Size(228, 37);
|
|
|
this.Printer.TabIndex = 178;
|
|
|
@@ -112,15 +191,16 @@
|
|
|
this.mcd_okqty.TabIndex = 176;
|
|
|
this.mcd_okqty.Text = "0";
|
|
|
//
|
|
|
- // pr_code
|
|
|
+ // ma_prodcode
|
|
|
//
|
|
|
- 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(501, 67);
|
|
|
- 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, 31);
|
|
|
- this.pr_code.TabIndex = 175;
|
|
|
+ this.ma_prodcode.AutoSize = true;
|
|
|
+ this.ma_prodcode.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
+ this.ma_prodcode.Location = new System.Drawing.Point(501, 67);
|
|
|
+ this.ma_prodcode.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
|
|
+ this.ma_prodcode.Name = "ma_prodcode";
|
|
|
+ this.ma_prodcode.Size = new System.Drawing.Size(0, 31);
|
|
|
+ this.ma_prodcode.TabIndex = 175;
|
|
|
+ this.ma_prodcode.TextChanged += new System.EventHandler(this.pr_code_TextChanged);
|
|
|
//
|
|
|
// pr_detail
|
|
|
//
|
|
|
@@ -132,16 +212,6 @@
|
|
|
this.pr_detail.Size = new System.Drawing.Size(0, 31);
|
|
|
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(170, 67);
|
|
|
- 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, 31);
|
|
|
- this.ms_makecode.TabIndex = 173;
|
|
|
- //
|
|
|
// PrintNum
|
|
|
//
|
|
|
this.PrintNum.AllPower = null;
|
|
|
@@ -160,30 +230,6 @@
|
|
|
this.PrintNum.TabIndex = 172;
|
|
|
this.PrintNum.Text = "1";
|
|
|
//
|
|
|
- // 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(686, 67);
|
|
|
- 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(110, 31);
|
|
|
- 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(29, 678);
|
|
|
- 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(86, 31);
|
|
|
- this.sncode_label.TabIndex = 170;
|
|
|
- this.sncode_label.Text = "序列号";
|
|
|
- //
|
|
|
// sncode
|
|
|
//
|
|
|
this.sncode.AllPower = "ifall";
|
|
|
@@ -201,6 +247,7 @@
|
|
|
this.sncode.Str2 = null;
|
|
|
this.sncode.TabIndex = 169;
|
|
|
this.sncode.Tag = "ifwrite";
|
|
|
+ this.sncode.KeyDown += new System.Windows.Forms.KeyEventHandler(this.sn_code_KeyDown);
|
|
|
//
|
|
|
// OperateResult
|
|
|
//
|
|
|
@@ -212,75 +259,30 @@
|
|
|
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(686, 140);
|
|
|
- this.label4.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
|
|
- this.label4.Name = "label4";
|
|
|
- this.label4.Size = new System.Drawing.Size(110, 31);
|
|
|
- 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(358, 140);
|
|
|
- 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(86, 31);
|
|
|
- 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(29, 140);
|
|
|
- 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(110, 31);
|
|
|
- this.mcd_okqty_label.TabIndex = 165;
|
|
|
- this.mcd_okqty_label.Text = "打印计数";
|
|
|
+ // ma_code
|
|
|
//
|
|
|
- // 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(358, 67);
|
|
|
- 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(110, 31);
|
|
|
- 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(29, 67);
|
|
|
- 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(110, 31);
|
|
|
- this.ms_makecode_label.TabIndex = 163;
|
|
|
- this.ms_makecode_label.Text = "归属工单";
|
|
|
+ this.ma_code.AutoSize = true;
|
|
|
+ this.ma_code.Font = new System.Drawing.Font("微软雅黑", 12F);
|
|
|
+ this.ma_code.Location = new System.Drawing.Point(157, 67);
|
|
|
+ this.ma_code.Name = "ma_code";
|
|
|
+ this.ma_code.Size = new System.Drawing.Size(0, 31);
|
|
|
+ this.ma_code.TabIndex = 182;
|
|
|
//
|
|
|
// Make_FuselageLabelPrint
|
|
|
//
|
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 18F);
|
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
|
- this.ClientSize = new System.Drawing.Size(1488, 764);
|
|
|
+ this.AutoSize = true;
|
|
|
+ this.ClientSize = new System.Drawing.Size(1468, 731);
|
|
|
+ this.Controls.Add(this.ma_code);
|
|
|
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.ma_prodcode);
|
|
|
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);
|
|
|
@@ -313,9 +315,8 @@
|
|
|
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 ma_prodcode;
|
|
|
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;
|
|
|
@@ -326,5 +327,6 @@
|
|
|
private System.Windows.Forms.Label mcd_okqty_label;
|
|
|
private System.Windows.Forms.Label pr_code_label;
|
|
|
private System.Windows.Forms.Label ms_makecode_label;
|
|
|
+ private System.Windows.Forms.Label ma_code;
|
|
|
}
|
|
|
}
|