| | |
| | | label2 = new Label(); |
| | | button6 = new Button(); |
| | | label3 = new Label(); |
| | | textBox8 = new TextBox(); |
| | | button4 = new Button(); |
| | | button7 = new Button(); |
| | | textBox9 = new TextBox(); |
| | | label4 = new Label(); |
| | | label5 = new Label(); |
| | | textBox10 = new TextBox(); |
| | | label6 = new Label(); |
| | | textBox11 = new TextBox(); |
| | | label7 = new Label(); |
| | | textBox12 = new TextBox(); |
| | | label8 = new Label(); |
| | | textBox13 = new TextBox(); |
| | | SuspendLayout(); |
| | | // |
| | | // button2 |
| | | // |
| | | button2.Location = new Point(154, 51); |
| | | button2.Location = new Point(177, 51); |
| | | button2.Margin = new Padding(3, 2, 3, 2); |
| | | button2.Name = "button2"; |
| | | button2.Size = new Size(93, 46); |
| | | button2.TabIndex = 1; |
| | | button2.Text = "预览"; |
| | | button2.Text = "S6预览"; |
| | | button2.UseVisualStyleBackColor = true; |
| | | button2.Click += button2_Click; |
| | | // |
| | | // button1 |
| | | // |
| | | button1.Location = new Point(27, 51); |
| | | button1.Location = new Point(51, 51); |
| | | button1.Margin = new Padding(3, 2, 3, 2); |
| | | button1.Name = "button1"; |
| | | button1.Size = new Size(93, 46); |
| | | button1.TabIndex = 2; |
| | | button1.Text = "打印"; |
| | | button1.Text = "S6打印条码"; |
| | | button1.UseVisualStyleBackColor = true; |
| | | button1.Click += button1_Click; |
| | | // |
| | |
| | | // |
| | | // button3 |
| | | // |
| | | button3.Location = new Point(27, 101); |
| | | button3.Location = new Point(27, 178); |
| | | button3.Margin = new Padding(2); |
| | | button3.Name = "button3"; |
| | | button3.Size = new Size(69, 33); |
| | |
| | | // |
| | | // textBox2 |
| | | // |
| | | textBox2.Location = new Point(27, 138); |
| | | textBox2.Location = new Point(27, 215); |
| | | textBox2.Margin = new Padding(3, 2, 3, 2); |
| | | textBox2.Name = "textBox2"; |
| | | textBox2.Size = new Size(269, 21); |
| | |
| | | // |
| | | // richTextBox1 |
| | | // |
| | | richTextBox1.Location = new Point(328, 26); |
| | | richTextBox1.Location = new Point(444, 26); |
| | | richTextBox1.Name = "richTextBox1"; |
| | | richTextBox1.Size = new Size(270, 509); |
| | | richTextBox1.Size = new Size(203, 509); |
| | | richTextBox1.TabIndex = 9; |
| | | richTextBox1.Text = ""; |
| | | // |
| | | // textBox3 |
| | | // |
| | | textBox3.Location = new Point(82, 226); |
| | | textBox3.Location = new Point(82, 256); |
| | | textBox3.Margin = new Padding(3, 2, 3, 2); |
| | | textBox3.Name = "textBox3"; |
| | | textBox3.Size = new Size(151, 21); |
| | |
| | | // |
| | | // textBox4 |
| | | // |
| | | textBox4.Location = new Point(82, 263); |
| | | textBox4.Location = new Point(82, 281); |
| | | textBox4.Margin = new Padding(3, 2, 3, 2); |
| | | textBox4.Name = "textBox4"; |
| | | textBox4.Size = new Size(151, 21); |
| | |
| | | // |
| | | // textBox5 |
| | | // |
| | | textBox5.Location = new Point(82, 298); |
| | | textBox5.Location = new Point(82, 306); |
| | | textBox5.Margin = new Padding(3, 2, 3, 2); |
| | | textBox5.Name = "textBox5"; |
| | | textBox5.Size = new Size(151, 21); |
| | |
| | | // |
| | | // textBox6 |
| | | // |
| | | textBox6.Location = new Point(82, 336); |
| | | textBox6.Location = new Point(82, 331); |
| | | textBox6.Margin = new Padding(3, 2, 3, 2); |
| | | textBox6.Name = "textBox6"; |
| | | textBox6.Size = new Size(151, 21); |
| | |
| | | // |
| | | // textBox7 |
| | | // |
| | | textBox7.Location = new Point(82, 379); |
| | | textBox7.Location = new Point(82, 356); |
| | | textBox7.Margin = new Padding(3, 2, 3, 2); |
| | | textBox7.Name = "textBox7"; |
| | | textBox7.Size = new Size(151, 21); |
| | |
| | | label3.AutoSize = true; |
| | | label3.Location = new Point(96, 537); |
| | | label3.Name = "label3"; |
| | | label3.Size = new Size(139, 13); |
| | | label3.Size = new Size(191, 13); |
| | | label3.TabIndex = 17; |
| | | label3.Text = "sn,result,zword,zno,entray"; |
| | | label3.Text = "sn,result,zword,zno,entray,zversion"; |
| | | // |
| | | // textBox8 |
| | | // |
| | | textBox8.Location = new Point(82, 381); |
| | | textBox8.Margin = new Padding(3, 2, 3, 2); |
| | | textBox8.Name = "textBox8"; |
| | | textBox8.Size = new Size(151, 21); |
| | | textBox8.TabIndex = 18; |
| | | // |
| | | // button4 |
| | | // |
| | | button4.Location = new Point(51, 116); |
| | | button4.Margin = new Padding(3, 2, 3, 2); |
| | | button4.Name = "button4"; |
| | | button4.Size = new Size(93, 46); |
| | | button4.TabIndex = 19; |
| | | button4.Text = "S9打印条码"; |
| | | button4.UseVisualStyleBackColor = true; |
| | | button4.Click += button4_Click; |
| | | // |
| | | // button7 |
| | | // |
| | | button7.Location = new Point(177, 116); |
| | | button7.Margin = new Padding(3, 2, 3, 2); |
| | | button7.Name = "button7"; |
| | | button7.Size = new Size(93, 46); |
| | | button7.TabIndex = 20; |
| | | button7.Text = "S9预览"; |
| | | button7.UseVisualStyleBackColor = true; |
| | | button7.Click += button7_Click; |
| | | // |
| | | // textBox9 |
| | | // |
| | | textBox9.Location = new Point(355, 29); |
| | | textBox9.Margin = new Padding(3, 2, 3, 2); |
| | | textBox9.Name = "textBox9"; |
| | | textBox9.Size = new Size(70, 21); |
| | | textBox9.TabIndex = 21; |
| | | textBox9.Text = "320"; |
| | | // |
| | | // label4 |
| | | // |
| | | label4.AutoSize = true; |
| | | label4.Location = new Point(276, 29); |
| | | label4.Name = "label4"; |
| | | label4.Size = new Size(67, 13); |
| | | label4.TabIndex = 22; |
| | | label4.Text = "S9打印长度"; |
| | | // |
| | | // label5 |
| | | // |
| | | label5.AutoSize = true; |
| | | label5.Location = new Point(276, 65); |
| | | label5.Name = "label5"; |
| | | label5.Size = new Size(67, 13); |
| | | label5.TabIndex = 24; |
| | | label5.Text = "S9打印宽度"; |
| | | // |
| | | // textBox10 |
| | | // |
| | | textBox10.Location = new Point(355, 65); |
| | | textBox10.Margin = new Padding(3, 2, 3, 2); |
| | | textBox10.Name = "textBox10"; |
| | | textBox10.Size = new Size(70, 21); |
| | | textBox10.TabIndex = 23; |
| | | textBox10.Text = "160"; |
| | | // |
| | | // label6 |
| | | // |
| | | label6.AutoSize = true; |
| | | label6.Location = new Point(276, 101); |
| | | label6.Name = "label6"; |
| | | label6.Size = new Size(67, 13); |
| | | label6.TabIndex = 26; |
| | | label6.Text = "S9打印比例"; |
| | | // |
| | | // textBox11 |
| | | // |
| | | textBox11.Location = new Point(355, 101); |
| | | textBox11.Margin = new Padding(3, 2, 3, 2); |
| | | textBox11.Name = "textBox11"; |
| | | textBox11.Size = new Size(70, 21); |
| | | textBox11.TabIndex = 25; |
| | | textBox11.Text = "0.85"; |
| | | // |
| | | // label7 |
| | | // |
| | | label7.AutoSize = true; |
| | | label7.Location = new Point(276, 133); |
| | | label7.Name = "label7"; |
| | | label7.Size = new Size(73, 13); |
| | | label7.TabIndex = 28; |
| | | label7.Text = "S9打印起始X"; |
| | | // |
| | | // textBox12 |
| | | // |
| | | textBox12.Location = new Point(355, 133); |
| | | textBox12.Margin = new Padding(3, 2, 3, 2); |
| | | textBox12.Name = "textBox12"; |
| | | textBox12.Size = new Size(70, 21); |
| | | textBox12.TabIndex = 27; |
| | | textBox12.Text = "10"; |
| | | // |
| | | // label8 |
| | | // |
| | | label8.AutoSize = true; |
| | | label8.Location = new Point(276, 167); |
| | | label8.Name = "label8"; |
| | | label8.Size = new Size(73, 13); |
| | | label8.TabIndex = 30; |
| | | label8.Text = "S9打印起始Y"; |
| | | // |
| | | // textBox13 |
| | | // |
| | | textBox13.AccessibleName = ""; |
| | | textBox13.Location = new Point(355, 167); |
| | | textBox13.Margin = new Padding(3, 2, 3, 2); |
| | | textBox13.Name = "textBox13"; |
| | | textBox13.Size = new Size(70, 21); |
| | | textBox13.TabIndex = 29; |
| | | textBox13.Text = "-10"; |
| | | // |
| | | // UIPrinter |
| | | // |
| | | AutoScaleDimensions = new SizeF(6F, 13F); |
| | | AutoScaleMode = AutoScaleMode.Font; |
| | | Controls.Add(label8); |
| | | Controls.Add(textBox13); |
| | | Controls.Add(label7); |
| | | Controls.Add(textBox12); |
| | | Controls.Add(label6); |
| | | Controls.Add(textBox11); |
| | | Controls.Add(label5); |
| | | Controls.Add(textBox10); |
| | | Controls.Add(label4); |
| | | Controls.Add(textBox9); |
| | | Controls.Add(button7); |
| | | Controls.Add(button4); |
| | | Controls.Add(textBox8); |
| | | Controls.Add(label3); |
| | | Controls.Add(button6); |
| | | Controls.Add(label2); |
| | |
| | | private Label label2; |
| | | private Button button6; |
| | | private Label label3; |
| | | private TextBox textBox8; |
| | | private Button button4; |
| | | private Button button7; |
| | | private TextBox textBox9; |
| | | private Label label4; |
| | | private Label label5; |
| | | private TextBox textBox10; |
| | | private Label label6; |
| | | private TextBox textBox11; |
| | | private Label label7; |
| | | private TextBox textBox12; |
| | | private Label label8; |
| | | private TextBox textBox13; |
| | | } |
| | | } |