You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
102 lines
4.4 KiB
102 lines
4.4 KiB
namespace TestPrinter
|
|
{
|
|
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()
|
|
{
|
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
|
|
this.printer_preview = new System.Windows.Forms.Button();
|
|
this.printer_setup = new System.Windows.Forms.Button();
|
|
this.pictureBox = new System.Windows.Forms.PictureBox();
|
|
this.comboBox1 = new System.Windows.Forms.ComboBox();
|
|
((System.ComponentModel.ISupportInitialize)(this.pictureBox)).BeginInit();
|
|
this.SuspendLayout();
|
|
//
|
|
// printer_preview
|
|
//
|
|
this.printer_preview.Location = new System.Drawing.Point(461, 442);
|
|
this.printer_preview.Name = "printer_preview";
|
|
this.printer_preview.Size = new System.Drawing.Size(166, 34);
|
|
this.printer_preview.TabIndex = 1;
|
|
this.printer_preview.Text = "預覽列印";
|
|
this.printer_preview.UseVisualStyleBackColor = true;
|
|
this.printer_preview.Click += new System.EventHandler(this.printer_preview_Click);
|
|
//
|
|
// printer_setup
|
|
//
|
|
this.printer_setup.Location = new System.Drawing.Point(180, 442);
|
|
this.printer_setup.Name = "printer_setup";
|
|
this.printer_setup.Size = new System.Drawing.Size(135, 34);
|
|
this.printer_setup.TabIndex = 2;
|
|
this.printer_setup.Text = "印表機設定";
|
|
this.printer_setup.UseVisualStyleBackColor = true;
|
|
this.printer_setup.Click += new System.EventHandler(this.printer_setup_Click);
|
|
//
|
|
// pictureBox
|
|
//
|
|
this.pictureBox.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None;
|
|
this.pictureBox.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox.Image")));
|
|
this.pictureBox.Location = new System.Drawing.Point(0, 1);
|
|
this.pictureBox.Name = "pictureBox";
|
|
this.pictureBox.Size = new System.Drawing.Size(799, 484);
|
|
this.pictureBox.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
|
|
this.pictureBox.TabIndex = 3;
|
|
this.pictureBox.TabStop = false;
|
|
//
|
|
// comboBox1
|
|
//
|
|
this.comboBox1.FormattingEnabled = true;
|
|
this.comboBox1.Location = new System.Drawing.Point(461, 415);
|
|
this.comboBox1.Name = "comboBox1";
|
|
this.comboBox1.Size = new System.Drawing.Size(166, 21);
|
|
this.comboBox1.TabIndex = 4;
|
|
this.comboBox1.SelectedIndexChanged += new System.EventHandler(this.printer_scale_mode_Changed);
|
|
//
|
|
// Form1
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.ClientSize = new System.Drawing.Size(800, 488);
|
|
this.Controls.Add(this.comboBox1);
|
|
this.Controls.Add(this.printer_setup);
|
|
this.Controls.Add(this.printer_preview);
|
|
this.Controls.Add(this.pictureBox);
|
|
this.Name = "Form1";
|
|
this.Text = "Form1";
|
|
((System.ComponentModel.ISupportInitialize)(this.pictureBox)).EndInit();
|
|
this.ResumeLayout(false);
|
|
|
|
}
|
|
|
|
#endregion
|
|
private System.Windows.Forms.Button printer_preview;
|
|
private System.Windows.Forms.Button printer_setup;
|
|
private System.Windows.Forms.PictureBox pictureBox;
|
|
private System.Windows.Forms.ComboBox comboBox1;
|
|
}
|
|
}
|
|
|
|
|