Form1.Designer.cs
上传用户:w139379
上传日期:2022-08-09
资源大小:21k
文件大小:7k
源码类别:

打印编程

开发平台:

JavaScript

  1. namespace printout
  2. {
  3.     partial class Form1
  4.     {
  5.         /// <summary>
  6.         /// 设计工具所需的变数。
  7.         /// </summary>
  8.         private System.ComponentModel.IContainer components = null;
  9.         //Download by http://www.codefans.net
  10.         /// <summary>
  11.         /// 清除任何使用中的资源。
  12.         /// </summary>
  13.         /// <param name="disposing">如果应该公开 Managed 资源则为 true,否则为 false。</param>
  14.         protected override void Dispose(bool disposing)
  15.         {
  16.             if (disposing && (components != null))
  17.             {
  18.                 components.Dispose();
  19.             }
  20.             base.Dispose(disposing);
  21.         }
  22.         #region Windows Form 设计工具产生的程序代码
  23.         /// <summary>
  24.         /// 此为设计工具支持所需的方法 - 请勿使用程序代码编辑器修改这个方法的内容。
  25.         ///
  26.         /// </summary>
  27.         private void InitializeComponent()
  28.         {
  29.             System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
  30.             this.txtInput = new System.Windows.Forms.TextBox();
  31.             this.btnSetUp = new System.Windows.Forms.Button();
  32.             this.btnPreView = new System.Windows.Forms.Button();
  33.             this.btnPrint = new System.Windows.Forms.Button();
  34.             this.btnEnd = new System.Windows.Forms.Button();
  35.             this.printDocument1 = new System.Drawing.Printing.PrintDocument();
  36.             this.printPreviewDialog1 = new System.Windows.Forms.PrintPreviewDialog();
  37.             this.printDialog1 = new System.Windows.Forms.PrintDialog();
  38.             this.pageSetupDialog1 = new System.Windows.Forms.PageSetupDialog();
  39.             this.SuspendLayout();
  40.             // 
  41.             // txtInput
  42.             // 
  43.             this.txtInput.Font = new System.Drawing.Font("PMingLiU", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(136)));
  44.             this.txtInput.Location = new System.Drawing.Point(17, 19);
  45.             this.txtInput.Multiline = true;
  46.             this.txtInput.Name = "txtInput";
  47.             this.txtInput.ScrollBars = System.Windows.Forms.ScrollBars.Both;
  48.             this.txtInput.Size = new System.Drawing.Size(278, 219);
  49.             this.txtInput.TabIndex = 0;
  50.             // 
  51.             // btnSetUp
  52.             // 
  53.             this.btnSetUp.Location = new System.Drawing.Point(319, 37);
  54.             this.btnSetUp.Name = "btnSetUp";
  55.             this.btnSetUp.Size = new System.Drawing.Size(72, 29);
  56.             this.btnSetUp.TabIndex = 1;
  57.             this.btnSetUp.Text = "页面设置";
  58.             this.btnSetUp.UseVisualStyleBackColor = true;
  59.             this.btnSetUp.Click += new System.EventHandler(this.btnSetUp_Click);
  60.             // 
  61.             // btnPreView
  62.             // 
  63.             this.btnPreView.Location = new System.Drawing.Point(319, 84);
  64.             this.btnPreView.Name = "btnPreView";
  65.             this.btnPreView.Size = new System.Drawing.Size(74, 27);
  66.             this.btnPreView.TabIndex = 2;
  67.             this.btnPreView.Text = "预览打印";
  68.             this.btnPreView.UseVisualStyleBackColor = true;
  69.             this.btnPreView.Click += new System.EventHandler(this.btnPreView_Click);
  70.             // 
  71.             // btnPrint
  72.             // 
  73.             this.btnPrint.Location = new System.Drawing.Point(323, 130);
  74.             this.btnPrint.Name = "btnPrint";
  75.             this.btnPrint.Size = new System.Drawing.Size(69, 28);
  76.             this.btnPrint.TabIndex = 3;
  77.             this.btnPrint.Text = "打印";
  78.             this.btnPrint.UseVisualStyleBackColor = true;
  79.             this.btnPrint.Click += new System.EventHandler(this.btnPrint_Click);
  80.             // 
  81.             // btnEnd
  82.             // 
  83.             this.btnEnd.Location = new System.Drawing.Point(324, 178);
  84.             this.btnEnd.Name = "btnEnd";
  85.             this.btnEnd.Size = new System.Drawing.Size(67, 26);
  86.             this.btnEnd.TabIndex = 4;
  87.             this.btnEnd.Text = "结束";
  88.             this.btnEnd.UseVisualStyleBackColor = true;
  89.             this.btnEnd.Click += new System.EventHandler(this.btnEnd_Click);
  90.             // 
  91.             // printDocument1
  92.             // 
  93.             this.printDocument1.PrintPage += new System.Drawing.Printing.PrintPageEventHandler(this.printDocument1_PrintPage);
  94.             // 
  95.             // printPreviewDialog1
  96.             // 
  97.             this.printPreviewDialog1.AutoScrollMargin = new System.Drawing.Size(0, 0);
  98.             this.printPreviewDialog1.AutoScrollMinSize = new System.Drawing.Size(0, 0);
  99.             this.printPreviewDialog1.ClientSize = new System.Drawing.Size(400, 300);
  100.             this.printPreviewDialog1.Document = this.printDocument1;
  101.             this.printPreviewDialog1.Enabled = true;
  102.             this.printPreviewDialog1.Icon = ((System.Drawing.Icon)(resources.GetObject("printPreviewDialog1.Icon")));
  103.             this.printPreviewDialog1.Name = "printPreviewDialog1";
  104.             this.printPreviewDialog1.Visible = false;
  105.             // 
  106.             // printDialog1
  107.             // 
  108.             this.printDialog1.Document = this.printDocument1;
  109.             this.printDialog1.UseEXDialog = true;
  110.             // 
  111.             // pageSetupDialog1
  112.             // 
  113.             this.pageSetupDialog1.Document = this.printDocument1;
  114.             // 
  115.             // Form1
  116.             // 
  117.             this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
  118.             this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
  119.             this.ClientSize = new System.Drawing.Size(420, 315);
  120.             this.Controls.Add(this.btnEnd);
  121.             this.Controls.Add(this.btnPrint);
  122.             this.Controls.Add(this.btnPreView);
  123.             this.Controls.Add(this.btnSetUp);
  124.             this.Controls.Add(this.txtInput);
  125.             this.Name = "Form1";
  126.             this.Text = "Form1";
  127.             this.Load += new System.EventHandler(this.Form1_Load);
  128.             this.ResumeLayout(false);
  129.             this.PerformLayout();
  130.         }
  131.         #endregion
  132.         private System.Windows.Forms.TextBox txtInput;
  133.         private System.Windows.Forms.Button btnSetUp;
  134.         private System.Windows.Forms.Button btnPreView;
  135.         private System.Windows.Forms.Button btnPrint;
  136.         private System.Windows.Forms.Button btnEnd;
  137.         private System.Drawing.Printing.PrintDocument printDocument1;
  138.         private System.Windows.Forms.PrintPreviewDialog printPreviewDialog1;
  139.         private System.Windows.Forms.PrintDialog printDialog1;
  140.         private System.Windows.Forms.PageSetupDialog pageSetupDialog1;
  141.     }
  142. }