namespace WinPrint { partial class Form1 { /// /// 設計工具所需的變數。 /// private System.ComponentModel.IContainer components = null; /// /// 清除任何使用中的資源。 /// /// 如果應該處置 Managed 資源則為 true,否則為 false。 protected override void Dispose(bool disposing) { if (disposing && (components != null)) { components.Dispose(); } base.Dispose(disposing); } #region Windows Form 設計工具產生的程式碼 /// /// 此為設計工具支援所需的方法 - 請勿使用程式碼編輯器修改 /// 這個方法的內容。 /// private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); this.pageSetupDialog1 = new System.Windows.Forms.PageSetupDialog(); this.printDialog1 = new System.Windows.Forms.PrintDialog(); this.printDocument1 = new System.Drawing.Printing.PrintDocument(); this.printPreviewDialog1 = new System.Windows.Forms.PrintPreviewDialog(); this.btnEnd = new System.Windows.Forms.Button(); this.btnPrint = new System.Windows.Forms.Button(); this.btnPreview = new System.Windows.Forms.Button(); this.btnSetup = new System.Windows.Forms.Button(); this.textBox1 = new System.Windows.Forms.TextBox(); this.SuspendLayout(); // // printDialog1 // this.printDialog1.UseEXDialog = true; // // printDocument1 // this.printDocument1.PrintPage += new System.Drawing.Printing.PrintPageEventHandler(this.printDocument1_PrintPage); // // printPreviewDialog1 // this.printPreviewDialog1.AutoScrollMargin = new System.Drawing.Size(0, 0); this.printPreviewDialog1.AutoScrollMinSize = new System.Drawing.Size(0, 0); this.printPreviewDialog1.ClientSize = new System.Drawing.Size(400, 300); this.printPreviewDialog1.Enabled = true; this.printPreviewDialog1.Icon = ((System.Drawing.Icon)(resources.GetObject("printPreviewDialog1.Icon"))); this.printPreviewDialog1.Name = "printPreviewDialog1"; this.printPreviewDialog1.Visible = false; // // btnEnd // this.btnEnd.Location = new System.Drawing.Point(305, 236); this.btnEnd.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.btnEnd.Name = "btnEnd"; this.btnEnd.Size = new System.Drawing.Size(89, 28); this.btnEnd.TabIndex = 14; this.btnEnd.Text = "結束"; this.btnEnd.UseVisualStyleBackColor = true; this.btnEnd.Click += new System.EventHandler(this.btnEnd_Click); // // btnPrint // this.btnPrint.Location = new System.Drawing.Point(210, 236); this.btnPrint.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.btnPrint.Name = "btnPrint"; this.btnPrint.Size = new System.Drawing.Size(89, 28); this.btnPrint.TabIndex = 13; this.btnPrint.Text = "印列"; this.btnPrint.UseVisualStyleBackColor = true; this.btnPrint.Click += new System.EventHandler(this.btnPrint_Click); // // btnPreview // this.btnPreview.Location = new System.Drawing.Point(115, 236); this.btnPreview.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.btnPreview.Name = "btnPreview"; this.btnPreview.Size = new System.Drawing.Size(89, 28); this.btnPreview.TabIndex = 12; this.btnPreview.Text = "預覽列印"; this.btnPreview.UseVisualStyleBackColor = true; this.btnPreview.Click += new System.EventHandler(this.btnPreview_Click); // // btnSetup // this.btnSetup.Location = new System.Drawing.Point(20, 236); this.btnSetup.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.btnSetup.Name = "btnSetup"; this.btnSetup.Size = new System.Drawing.Size(89, 28); this.btnSetup.TabIndex = 11; this.btnSetup.Text = "版面設定"; this.btnSetup.UseVisualStyleBackColor = true; this.btnSetup.Click += new System.EventHandler(this.btnSetup_Click); // // textBox1 // this.textBox1.Location = new System.Drawing.Point(30, 23); this.textBox1.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.textBox1.Multiline = true; this.textBox1.Name = "textBox1"; this.textBox1.Size = new System.Drawing.Size(364, 190); this.textBox1.TabIndex = 10; // // Form1 // this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(427, 295); this.Controls.Add(this.btnEnd); this.Controls.Add(this.btnPrint); this.Controls.Add(this.btnPreview); this.Controls.Add(this.btnSetup); this.Controls.Add(this.textBox1); this.Name = "Form1"; this.Text = "Form1"; this.Load += new System.EventHandler(this.Form1_Load); this.ResumeLayout(false); this.PerformLayout(); } #endregion private System.Windows.Forms.PageSetupDialog pageSetupDialog1; private System.Windows.Forms.PrintDialog printDialog1; private System.Drawing.Printing.PrintDocument printDocument1; private System.Windows.Forms.PrintPreviewDialog printPreviewDialog1; private System.Windows.Forms.Button btnEnd; private System.Windows.Forms.Button btnPrint; private System.Windows.Forms.Button btnPreview; private System.Windows.Forms.Button btnSetup; private System.Windows.Forms.TextBox textBox1; } }