Form1.Designer.cs 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. namespace WindowsFormsPrintDialog
  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.printDialog1 = new System.Windows.Forms.PrintDialog();
  29. this.printDocument1 = new System.Drawing.Printing.PrintDocument();
  30. this.button1 = new System.Windows.Forms.Button();
  31. this.SuspendLayout();
  32. //
  33. // printDialog1
  34. //
  35. this.printDialog1.UseEXDialog = true;
  36. //
  37. // button1
  38. //
  39. this.button1.Location = new System.Drawing.Point(120, 34);
  40. this.button1.Name = "button1";
  41. this.button1.Size = new System.Drawing.Size(125, 30);
  42. this.button1.TabIndex = 0;
  43. this.button1.Text = "打印机设置";
  44. this.button1.UseVisualStyleBackColor = true;
  45. this.button1.Click += new System.EventHandler(this.button1_Click);
  46. //
  47. // Form1
  48. //
  49. this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 15F);
  50. this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
  51. this.ClientSize = new System.Drawing.Size(373, 310);
  52. this.Controls.Add(this.button1);
  53. this.Name = "Form1";
  54. this.Text = "Form1";
  55. this.ResumeLayout(false);
  56. }
  57. #endregion
  58. private System.Windows.Forms.PrintDialog printDialog1;
  59. private System.Drawing.Printing.PrintDocument printDocument1;
  60. private System.Windows.Forms.Button button1;
  61. }
  62. }