165 lines
		
	
	
		
			7.8 KiB
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			165 lines
		
	
	
		
			7.8 KiB
		
	
	
	
		
			C#
		
	
	
	
	
	
| namespace RyPrint
 | |
| {
 | |
|     partial class frmPrintPreview
 | |
|     {
 | |
|         /// <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(frmPrintPreview));
 | |
|             this.toolStrip1 = new System.Windows.Forms.ToolStrip();
 | |
|             this.BtnPrint = new System.Windows.Forms.ToolStripButton();
 | |
|             this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
 | |
|             this.BtnSetting = new System.Windows.Forms.ToolStripButton();
 | |
|             this.BtnPrev = new System.Windows.Forms.ToolStripButton();
 | |
|             this.BtnNext = new System.Windows.Forms.ToolStripButton();
 | |
|             this.toolStripLabel1 = new System.Windows.Forms.ToolStripLabel();
 | |
|             this.printPreviewControl1 = new System.Windows.Forms.PrintPreviewControl();
 | |
|             this.printDialog1 = new System.Windows.Forms.PrintDialog();
 | |
|             this.pageSetupDialog1 = new System.Windows.Forms.PageSetupDialog();
 | |
|             this.toolStrip1.SuspendLayout();
 | |
|             this.SuspendLayout();
 | |
|             // 
 | |
|             // toolStrip1
 | |
|             // 
 | |
|             this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
 | |
|             this.BtnPrint,
 | |
|             this.toolStripSeparator1,
 | |
|             this.BtnSetting,
 | |
|             this.BtnPrev,
 | |
|             this.BtnNext,
 | |
|             this.toolStripLabel1});
 | |
|             this.toolStrip1.Location = new System.Drawing.Point(0, 0);
 | |
|             this.toolStrip1.Name = "toolStrip1";
 | |
|             this.toolStrip1.Size = new System.Drawing.Size(856, 25);
 | |
|             this.toolStrip1.TabIndex = 3;
 | |
|             this.toolStrip1.Text = "toolStrip1";
 | |
|             // 
 | |
|             // BtnPrint
 | |
|             // 
 | |
|             this.BtnPrint.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
 | |
|             this.BtnPrint.Image = ((System.Drawing.Image)(resources.GetObject("BtnPrint.Image")));
 | |
|             this.BtnPrint.ImageTransparentColor = System.Drawing.Color.Magenta;
 | |
|             this.BtnPrint.Name = "BtnPrint";
 | |
|             this.BtnPrint.Size = new System.Drawing.Size(23, 22);
 | |
|             this.BtnPrint.Text = "打印";
 | |
|             this.BtnPrint.ToolTipText = "打印";
 | |
|             this.BtnPrint.Click += new System.EventHandler(this.BtnPrint_Click);
 | |
|             // 
 | |
|             // toolStripSeparator1
 | |
|             // 
 | |
|             this.toolStripSeparator1.Name = "toolStripSeparator1";
 | |
|             this.toolStripSeparator1.Size = new System.Drawing.Size(6, 25);
 | |
|             // 
 | |
|             // BtnSetting
 | |
|             // 
 | |
|             this.BtnSetting.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
 | |
|             this.BtnSetting.Image = ((System.Drawing.Image)(resources.GetObject("BtnSetting.Image")));
 | |
|             this.BtnSetting.ImageTransparentColor = System.Drawing.Color.Magenta;
 | |
|             this.BtnSetting.Name = "BtnSetting";
 | |
|             this.BtnSetting.Size = new System.Drawing.Size(23, 22);
 | |
|             this.BtnSetting.Text = "打印设置";
 | |
|             this.BtnSetting.ToolTipText = "打印设置";
 | |
|             this.BtnSetting.Visible = false;
 | |
|             this.BtnSetting.Click += new System.EventHandler(this.BtnSetting_Click);
 | |
|             // 
 | |
|             // BtnPrev
 | |
|             // 
 | |
|             this.BtnPrev.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
 | |
|             this.BtnPrev.Image = ((System.Drawing.Image)(resources.GetObject("BtnPrev.Image")));
 | |
|             this.BtnPrev.ImageTransparentColor = System.Drawing.Color.Magenta;
 | |
|             this.BtnPrev.Name = "BtnPrev";
 | |
|             this.BtnPrev.Size = new System.Drawing.Size(23, 22);
 | |
|             this.BtnPrev.Text = "上一页";
 | |
|             this.BtnPrev.Click += new System.EventHandler(this.BtnPrev_Click);
 | |
|             // 
 | |
|             // BtnNext
 | |
|             // 
 | |
|             this.BtnNext.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
 | |
|             this.BtnNext.Image = ((System.Drawing.Image)(resources.GetObject("BtnNext.Image")));
 | |
|             this.BtnNext.ImageTransparentColor = System.Drawing.Color.Magenta;
 | |
|             this.BtnNext.Name = "BtnNext";
 | |
|             this.BtnNext.Size = new System.Drawing.Size(23, 22);
 | |
|             this.BtnNext.Text = "下一页";
 | |
|             this.BtnNext.Click += new System.EventHandler(this.BtnNext_Click);
 | |
|             // 
 | |
|             // toolStripLabel1
 | |
|             // 
 | |
|             this.toolStripLabel1.ForeColor = System.Drawing.Color.Blue;
 | |
|             this.toolStripLabel1.Name = "toolStripLabel1";
 | |
|             this.toolStripLabel1.Size = new System.Drawing.Size(167, 22);
 | |
|             this.toolStripLabel1.Text = "注意:蓝色表示只在预览中显示";
 | |
|             // 
 | |
|             // printPreviewControl1
 | |
|             // 
 | |
|             this.printPreviewControl1.AutoZoom = false;
 | |
|             this.printPreviewControl1.Dock = System.Windows.Forms.DockStyle.Fill;
 | |
|             this.printPreviewControl1.Location = new System.Drawing.Point(0, 25);
 | |
|             this.printPreviewControl1.Name = "printPreviewControl1";
 | |
|             this.printPreviewControl1.Size = new System.Drawing.Size(856, 483);
 | |
|             this.printPreviewControl1.TabIndex = 4;
 | |
|             this.printPreviewControl1.Zoom = 1D;
 | |
|             // 
 | |
|             // printDialog1
 | |
|             // 
 | |
|             this.printDialog1.AllowSelection = true;
 | |
|             this.printDialog1.AllowSomePages = true;
 | |
|             this.printDialog1.ShowHelp = true;
 | |
|             this.printDialog1.UseEXDialog = true;
 | |
|             // 
 | |
|             // frmPrintPreview
 | |
|             // 
 | |
|             this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
 | |
|             this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
 | |
|             this.ClientSize = new System.Drawing.Size(856, 508);
 | |
|             this.Controls.Add(this.printPreviewControl1);
 | |
|             this.Controls.Add(this.toolStrip1);
 | |
|             this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
 | |
|             this.Name = "frmPrintPreview";
 | |
|             this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
 | |
|             this.Text = "预览";
 | |
|             this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.frmPrintPreview_FormClosed);
 | |
|             this.Load += new System.EventHandler(this.frmPrintPreview_Load);
 | |
|             this.toolStrip1.ResumeLayout(false);
 | |
|             this.toolStrip1.PerformLayout();
 | |
|             this.ResumeLayout(false);
 | |
|             this.PerformLayout();
 | |
| 
 | |
|         }
 | |
| 
 | |
|         #endregion
 | |
| 
 | |
|         private System.Windows.Forms.ToolStrip toolStrip1;
 | |
|         private System.Windows.Forms.ToolStripButton BtnPrint;
 | |
|         private System.Windows.Forms.ToolStripSeparator toolStripSeparator1;
 | |
|         private System.Windows.Forms.PrintPreviewControl printPreviewControl1;
 | |
|         private System.Windows.Forms.PrintDialog printDialog1;
 | |
|         private System.Windows.Forms.PageSetupDialog pageSetupDialog1;
 | |
|         private System.Windows.Forms.ToolStripButton BtnSetting;
 | |
|         private System.Windows.Forms.ToolStripLabel toolStripLabel1;
 | |
|         private System.Windows.Forms.ToolStripButton BtnPrev;
 | |
|         private System.Windows.Forms.ToolStripButton BtnNext;
 | |
|     }
 | |
| } |