LinePrinterForm.Designer.cs 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. using System.Windows.Forms;
  2. namespace LinePrinterPoC
  3. {
  4. partial class LinePrinterForm
  5. {
  6. /// <summary>
  7. /// 必需的设计器变量。
  8. /// </summary>
  9. private System.ComponentModel.IContainer components = null;
  10. /// <summary>
  11. /// 清理所有正在使用的资源。
  12. /// </summary>
  13. /// <param name="disposing">如果应释放托管资源,为 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 窗体设计器生成的代码
  23. /// <summary>
  24. /// 设计器支持所需的方法 - 不要修改
  25. /// 使用代码编辑器修改此方法的内容。
  26. /// </summary>
  27. private void InitializeComponent()
  28. {
  29. System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(LinePrinterForm));
  30. this.MainToolBar = new System.Windows.Forms.ToolStrip();
  31. this.ChooseButton = new System.Windows.Forms.ToolStripButton();
  32. this.PrinterLabel = new System.Windows.Forms.ToolStripLabel();
  33. this.PrintButton = new System.Windows.Forms.ToolStripButton();
  34. this.MainToolBar.SuspendLayout();
  35. this.SuspendLayout();
  36. //
  37. // MainToolBar
  38. //
  39. this.MainToolBar.Location = new System.Drawing.Point(0, 0);
  40. this.MainToolBar.Name = "MainToolBar";
  41. this.MainToolBar.Size = new System.Drawing.Size(800, 25);
  42. this.MainToolBar.TabIndex = 0;
  43. this.MainToolBar.Text = "toolStrip1";
  44. this.MainToolBar.Items.AddRange(new ToolStripItem[]
  45. {
  46. ChooseButton,
  47. PrinterLabel,
  48. PrintButton
  49. });
  50. //
  51. // ChooseButton
  52. //
  53. this.ChooseButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
  54. this.ChooseButton.Image = ((System.Drawing.Image)(resources.GetObject("ChooseButton.Image")));
  55. this.ChooseButton.ImageTransparentColor = System.Drawing.Color.Magenta;
  56. this.ChooseButton.Name = "ChooseButton";
  57. this.ChooseButton.Size = new System.Drawing.Size(98, 22);
  58. this.ChooseButton.Text = "Choose Printer";
  59. this.ChooseButton.Click += new System.EventHandler(this.ChooseButton_Click);
  60. //
  61. // PrinterLabel
  62. //
  63. this.PrinterLabel.Name = "PrinterLabel";
  64. this.PrinterLabel.Size = new System.Drawing.Size(90, 22);
  65. this.PrinterLabel.Text = "[Printer name]";
  66. //
  67. // PrintButton
  68. //
  69. this.PrintButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
  70. this.PrintButton.Image = ((System.Drawing.Image)(resources.GetObject("PrintButton.Image")));
  71. this.PrintButton.ImageTransparentColor = System.Drawing.Color.Magenta;
  72. this.PrintButton.Name = "PrintButton";
  73. this.PrintButton.Size = new System.Drawing.Size(38, 22);
  74. this.PrintButton.Text = "Print";
  75. this.PrintButton.Click += new System.EventHandler(this.PrintButton_Click);
  76. //
  77. // LinePrinterForm
  78. //
  79. this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
  80. this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
  81. this.ClientSize = new System.Drawing.Size(800, 450);
  82. this.Controls.Add(this.MainToolBar);
  83. this.Name = "LinePrinterForm";
  84. this.Text = "Line Printer PoC";
  85. this.Shown += new System.EventHandler(this.LinePrinterForm_Shown);
  86. this.MainToolBar.ResumeLayout(false);
  87. this.MainToolBar.PerformLayout();
  88. this.ResumeLayout(false);
  89. this.PerformLayout();
  90. }
  91. #endregion
  92. private System.Windows.Forms.ToolStrip MainToolBar;
  93. private System.Windows.Forms.ToolStripButton ChooseButton;
  94. private System.Windows.Forms.ToolStripLabel PrinterLabel;
  95. private System.Windows.Forms.ToolStripButton PrintButton;
  96. }
  97. }