Form1.Designer.cs 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. namespace WindowsFormsPrintPreviewControl
  2. {
  3. partial class Form1
  4. {
  5. /// <summary>
  6. /// 必需的设计器变量。
  7. /// </summary>
  8. private System.ComponentModel.IContainer components = null;
  9. /// <summary>
  10. /// 清理所有正在使用的资源。
  11. /// </summary>
  12. /// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
  13. protected override void Dispose(bool disposing)
  14. {
  15. if (disposing && (components != null))
  16. {
  17. components.Dispose();
  18. }
  19. base.Dispose(disposing);
  20. }
  21. #region Windows 窗体设计器生成的代码
  22. /// <summary>
  23. /// 设计器支持所需的方法 - 不要修改
  24. /// 使用代码编辑器修改此方法的内容。
  25. /// </summary>
  26. private void InitializeComponent()
  27. {
  28. this.printPreviewControl1 = new System.Windows.Forms.PrintPreviewControl();
  29. this.printDocument1 = new System.Drawing.Printing.PrintDocument();
  30. this.SuspendLayout();
  31. //
  32. // printPreviewControl1
  33. //
  34. this.printPreviewControl1.Location = new System.Drawing.Point(0, 0);
  35. this.printPreviewControl1.Name = "printPreviewControl1";
  36. this.printPreviewControl1.Size = new System.Drawing.Size(658, 460);
  37. this.printPreviewControl1.TabIndex = 0;
  38. //
  39. // printDocument1
  40. //
  41. this.printDocument1.PrintPage += new System.Drawing.Printing.PrintPageEventHandler(this.printDocument1_PrintPage);
  42. //
  43. // Form1
  44. //
  45. this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 15F);
  46. this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
  47. this.ClientSize = new System.Drawing.Size(670, 461);
  48. this.Controls.Add(this.printPreviewControl1);
  49. this.Name = "Form1";
  50. this.Text = "Form1";
  51. this.Load += new System.EventHandler(this.Form1_Load);
  52. this.ResumeLayout(false);
  53. }
  54. #endregion
  55. private System.Windows.Forms.PrintPreviewControl printPreviewControl1;
  56. private System.Drawing.Printing.PrintDocument printDocument1;
  57. }
  58. }