| | |
| | | button1 = new Button(); |
| | | textBox1 = new TextBox(); |
| | | label1 = new Label(); |
| | | button3 = new Button(); |
| | | textBox2 = new TextBox(); |
| | | SuspendLayout(); |
| | | // |
| | | // button2 |
| | |
| | | // |
| | | // textBox1 |
| | | // |
| | | textBox1.Location = new Point(113, 35); |
| | | textBox1.Location = new Point(125, 38); |
| | | textBox1.Name = "textBox1"; |
| | | textBox1.Size = new Size(175, 23); |
| | | textBox1.TabIndex = 3; |
| | |
| | | label1.TabIndex = 4; |
| | | label1.Text = "打印内容"; |
| | | // |
| | | // button3 |
| | | // |
| | | button3.Location = new Point(32, 218); |
| | | button3.Margin = new Padding(2, 2, 2, 2); |
| | | button3.Name = "button3"; |
| | | button3.Size = new Size(81, 43); |
| | | button3.TabIndex = 5; |
| | | button3.Text = "获取状态"; |
| | | button3.UseVisualStyleBackColor = true; |
| | | button3.Click += button3_Click; |
| | | // |
| | | // textBox2 |
| | | // |
| | | textBox2.Location = new Point(32, 266); |
| | | textBox2.Name = "textBox2"; |
| | | textBox2.Size = new Size(313, 23); |
| | | textBox2.TabIndex = 6; |
| | | // |
| | | // UIPrinter |
| | | // |
| | | AutoScaleDimensions = new SizeF(7F, 17F); |
| | | AutoScaleMode = AutoScaleMode.Font; |
| | | Controls.Add(textBox2); |
| | | Controls.Add(button3); |
| | | Controls.Add(label1); |
| | | Controls.Add(textBox1); |
| | | Controls.Add(button1); |
| | |
| | | private Button button1; |
| | | private TextBox textBox1; |
| | | private Label label1; |
| | | private Button button3; |
| | | private TextBox textBox2; |
| | | } |
| | | } |