291 lines
12 KiB
C#
291 lines
12 KiB
C#
|
|
namespace YBDevice.Print
|
|
{
|
|
partial class Form1
|
|
{
|
|
/// <summary>
|
|
/// Required designer variable.
|
|
/// </summary>
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
/// <summary>
|
|
/// Clean up any resources being used.
|
|
/// </summary>
|
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
|
protected override void Dispose(bool disposing)
|
|
{
|
|
if (disposing && (components != null))
|
|
{
|
|
components.Dispose();
|
|
}
|
|
base.Dispose(disposing);
|
|
}
|
|
|
|
#region Windows Form Designer generated code
|
|
|
|
/// <summary>
|
|
/// Required method for Designer support - do not modify
|
|
/// the contents of this method with the code editor.
|
|
/// </summary>
|
|
private void InitializeComponent()
|
|
{
|
|
this.button1 = new System.Windows.Forms.Button();
|
|
this.button2 = new System.Windows.Forms.Button();
|
|
this.listBox1 = new System.Windows.Forms.ListBox();
|
|
this.label1 = new System.Windows.Forms.Label();
|
|
this.textBox1 = new System.Windows.Forms.TextBox();
|
|
this.button3 = new System.Windows.Forms.Button();
|
|
this.comboBox1 = new System.Windows.Forms.ComboBox();
|
|
this.label2 = new System.Windows.Forms.Label();
|
|
this.textBox_PaperWidth = new System.Windows.Forms.TextBox();
|
|
this.label3 = new System.Windows.Forms.Label();
|
|
this.label4 = new System.Windows.Forms.Label();
|
|
this.textBox_PaperHeight = new System.Windows.Forms.TextBox();
|
|
this.pictureBox1 = new System.Windows.Forms.PictureBox();
|
|
this.textBox_x = new System.Windows.Forms.TextBox();
|
|
this.label5 = new System.Windows.Forms.Label();
|
|
this.textBox_y = new System.Windows.Forms.TextBox();
|
|
this.label6 = new System.Windows.Forms.Label();
|
|
this.richTextBox1_logger = new System.Windows.Forms.RichTextBox();
|
|
this.comboBox_type = new System.Windows.Forms.ComboBox();
|
|
this.label7 = new System.Windows.Forms.Label();
|
|
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
|
|
this.SuspendLayout();
|
|
//
|
|
// button1
|
|
//
|
|
this.button1.Location = new System.Drawing.Point(22, 44);
|
|
this.button1.Name = "button1";
|
|
this.button1.Size = new System.Drawing.Size(75, 23);
|
|
this.button1.TabIndex = 0;
|
|
this.button1.Text = "开启";
|
|
this.button1.UseVisualStyleBackColor = true;
|
|
this.button1.Click += new System.EventHandler(this.button1_Click);
|
|
//
|
|
// button2
|
|
//
|
|
this.button2.Location = new System.Drawing.Point(22, 90);
|
|
this.button2.Name = "button2";
|
|
this.button2.Size = new System.Drawing.Size(75, 23);
|
|
this.button2.TabIndex = 1;
|
|
this.button2.Text = "关闭";
|
|
this.button2.UseVisualStyleBackColor = true;
|
|
this.button2.Click += new System.EventHandler(this.button2_Click);
|
|
//
|
|
// listBox1
|
|
//
|
|
this.listBox1.FormattingEnabled = true;
|
|
this.listBox1.ItemHeight = 17;
|
|
this.listBox1.Location = new System.Drawing.Point(121, 44);
|
|
this.listBox1.Name = "listBox1";
|
|
this.listBox1.Size = new System.Drawing.Size(257, 242);
|
|
this.listBox1.TabIndex = 2;
|
|
//
|
|
// label1
|
|
//
|
|
this.label1.AutoSize = true;
|
|
this.label1.Location = new System.Drawing.Point(22, 131);
|
|
this.label1.Name = "label1";
|
|
this.label1.Size = new System.Drawing.Size(56, 17);
|
|
this.label1.TabIndex = 3;
|
|
this.label1.Text = "装箱台数";
|
|
//
|
|
// textBox1
|
|
//
|
|
this.textBox1.Location = new System.Drawing.Point(22, 151);
|
|
this.textBox1.Name = "textBox1";
|
|
this.textBox1.Size = new System.Drawing.Size(75, 23);
|
|
this.textBox1.TabIndex = 4;
|
|
this.textBox1.Text = "8";
|
|
//
|
|
// button3
|
|
//
|
|
this.button3.Location = new System.Drawing.Point(397, 264);
|
|
this.button3.Name = "button3";
|
|
this.button3.Size = new System.Drawing.Size(75, 23);
|
|
this.button3.TabIndex = 6;
|
|
this.button3.Text = "打印";
|
|
this.button3.UseVisualStyleBackColor = true;
|
|
this.button3.Click += new System.EventHandler(this.button3_Click);
|
|
//
|
|
// comboBox1
|
|
//
|
|
this.comboBox1.FormattingEnabled = true;
|
|
this.comboBox1.Location = new System.Drawing.Point(397, 223);
|
|
this.comboBox1.Name = "comboBox1";
|
|
this.comboBox1.Size = new System.Drawing.Size(100, 25);
|
|
this.comboBox1.TabIndex = 7;
|
|
//
|
|
// label2
|
|
//
|
|
this.label2.AutoSize = true;
|
|
this.label2.Location = new System.Drawing.Point(397, 193);
|
|
this.label2.Name = "label2";
|
|
this.label2.Size = new System.Drawing.Size(44, 17);
|
|
this.label2.TabIndex = 8;
|
|
this.label2.Text = "打印机";
|
|
//
|
|
// textBox_PaperWidth
|
|
//
|
|
this.textBox_PaperWidth.Location = new System.Drawing.Point(397, 71);
|
|
this.textBox_PaperWidth.Name = "textBox_PaperWidth";
|
|
this.textBox_PaperWidth.Size = new System.Drawing.Size(100, 23);
|
|
this.textBox_PaperWidth.TabIndex = 9;
|
|
this.textBox_PaperWidth.Text = "189";
|
|
//
|
|
// label3
|
|
//
|
|
this.label3.AutoSize = true;
|
|
this.label3.Location = new System.Drawing.Point(397, 44);
|
|
this.label3.Name = "label3";
|
|
this.label3.Size = new System.Drawing.Size(56, 17);
|
|
this.label3.TabIndex = 10;
|
|
this.label3.Text = "纸张宽度";
|
|
//
|
|
// label4
|
|
//
|
|
this.label4.AutoSize = true;
|
|
this.label4.Location = new System.Drawing.Point(397, 117);
|
|
this.label4.Name = "label4";
|
|
this.label4.Size = new System.Drawing.Size(56, 17);
|
|
this.label4.TabIndex = 11;
|
|
this.label4.Text = "纸张高度";
|
|
//
|
|
// textBox_PaperHeight
|
|
//
|
|
this.textBox_PaperHeight.Location = new System.Drawing.Point(397, 151);
|
|
this.textBox_PaperHeight.Name = "textBox_PaperHeight";
|
|
this.textBox_PaperHeight.Size = new System.Drawing.Size(100, 23);
|
|
this.textBox_PaperHeight.TabIndex = 12;
|
|
this.textBox_PaperHeight.Text = "156";
|
|
//
|
|
// pictureBox1
|
|
//
|
|
this.pictureBox1.Location = new System.Drawing.Point(542, 44);
|
|
this.pictureBox1.Name = "pictureBox1";
|
|
this.pictureBox1.Size = new System.Drawing.Size(246, 242);
|
|
this.pictureBox1.TabIndex = 13;
|
|
this.pictureBox1.TabStop = false;
|
|
//
|
|
// textBox_x
|
|
//
|
|
this.textBox_x.Location = new System.Drawing.Point(90, 368);
|
|
this.textBox_x.Name = "textBox_x";
|
|
this.textBox_x.Size = new System.Drawing.Size(100, 23);
|
|
this.textBox_x.TabIndex = 14;
|
|
this.textBox_x.Text = "35";
|
|
//
|
|
// label5
|
|
//
|
|
this.label5.AutoSize = true;
|
|
this.label5.Location = new System.Drawing.Point(22, 371);
|
|
this.label5.Name = "label5";
|
|
this.label5.Size = new System.Drawing.Size(64, 17);
|
|
this.label5.TabIndex = 15;
|
|
this.label5.Text = "图片X偏移";
|
|
//
|
|
// textBox_y
|
|
//
|
|
this.textBox_y.Location = new System.Drawing.Point(259, 368);
|
|
this.textBox_y.Name = "textBox_y";
|
|
this.textBox_y.Size = new System.Drawing.Size(100, 23);
|
|
this.textBox_y.TabIndex = 16;
|
|
this.textBox_y.Text = "15";
|
|
//
|
|
// label6
|
|
//
|
|
this.label6.AutoSize = true;
|
|
this.label6.Location = new System.Drawing.Point(196, 371);
|
|
this.label6.Name = "label6";
|
|
this.label6.Size = new System.Drawing.Size(63, 17);
|
|
this.label6.TabIndex = 17;
|
|
this.label6.Text = "图片Y偏移";
|
|
//
|
|
// richTextBox1_logger
|
|
//
|
|
this.richTextBox1_logger.Location = new System.Drawing.Point(397, 328);
|
|
this.richTextBox1_logger.Name = "richTextBox1_logger";
|
|
this.richTextBox1_logger.Size = new System.Drawing.Size(391, 110);
|
|
this.richTextBox1_logger.TabIndex = 18;
|
|
this.richTextBox1_logger.Text = "";
|
|
//
|
|
// comboBox_type
|
|
//
|
|
this.comboBox_type.FormattingEnabled = true;
|
|
this.comboBox_type.Items.AddRange(new object[] {
|
|
"L01",
|
|
"G01"});
|
|
this.comboBox_type.Location = new System.Drawing.Point(22, 210);
|
|
this.comboBox_type.Name = "comboBox_type";
|
|
this.comboBox_type.Size = new System.Drawing.Size(75, 25);
|
|
this.comboBox_type.TabIndex = 19;
|
|
this.comboBox_type.Text = "L01";
|
|
//
|
|
// label7
|
|
//
|
|
this.label7.AutoSize = true;
|
|
this.label7.Location = new System.Drawing.Point(22, 190);
|
|
this.label7.Name = "label7";
|
|
this.label7.Size = new System.Drawing.Size(56, 17);
|
|
this.label7.TabIndex = 20;
|
|
this.label7.Text = "设备类型";
|
|
//
|
|
// Form1
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 17F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.ClientSize = new System.Drawing.Size(800, 450);
|
|
this.Controls.Add(this.label7);
|
|
this.Controls.Add(this.comboBox_type);
|
|
this.Controls.Add(this.richTextBox1_logger);
|
|
this.Controls.Add(this.label6);
|
|
this.Controls.Add(this.textBox_y);
|
|
this.Controls.Add(this.label5);
|
|
this.Controls.Add(this.textBox_x);
|
|
this.Controls.Add(this.pictureBox1);
|
|
this.Controls.Add(this.textBox_PaperHeight);
|
|
this.Controls.Add(this.label4);
|
|
this.Controls.Add(this.label3);
|
|
this.Controls.Add(this.textBox_PaperWidth);
|
|
this.Controls.Add(this.label2);
|
|
this.Controls.Add(this.comboBox1);
|
|
this.Controls.Add(this.button3);
|
|
this.Controls.Add(this.textBox1);
|
|
this.Controls.Add(this.label1);
|
|
this.Controls.Add(this.listBox1);
|
|
this.Controls.Add(this.button2);
|
|
this.Controls.Add(this.button1);
|
|
this.Name = "Form1";
|
|
this.Text = "品传家用秤打印工具";
|
|
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
|
|
this.ResumeLayout(false);
|
|
this.PerformLayout();
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.Button button1;
|
|
private System.Windows.Forms.Button button2;
|
|
private System.Windows.Forms.ListBox listBox1;
|
|
private System.Windows.Forms.Label label1;
|
|
private System.Windows.Forms.TextBox textBox1;
|
|
private System.Windows.Forms.Button button3;
|
|
private System.Windows.Forms.ComboBox comboBox1;
|
|
private System.Windows.Forms.Label label2;
|
|
private System.Windows.Forms.TextBox textBox_PaperWidth;
|
|
private System.Windows.Forms.Label label3;
|
|
private System.Windows.Forms.Label label4;
|
|
private System.Windows.Forms.TextBox textBox_PaperHeight;
|
|
private System.Windows.Forms.PictureBox pictureBox1;
|
|
private System.Windows.Forms.TextBox textBox_x;
|
|
private System.Windows.Forms.Label label5;
|
|
private System.Windows.Forms.TextBox textBox_y;
|
|
private System.Windows.Forms.Label label6;
|
|
private System.Windows.Forms.RichTextBox richTextBox1_logger;
|
|
private System.Windows.Forms.ComboBox comboBox_type;
|
|
private System.Windows.Forms.Label label7;
|
|
}
|
|
}
|
|
|