PageRenderTime 47ms CodeModel.GetById 20ms RepoModel.GetById 0ms app.codeStats 0ms

/Visual Studio 2008/VBWinFormPrinting/MainForm.Designer.vb

#
Visual Basic | 92 lines | 67 code | 5 blank | 20 comment | 0 complexity | 2f9b1f67934e853c3f04e5b3534fc3c5 MD5 | raw file
  1. <Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
  2. Partial Class MainForm
  3. Inherits System.Windows.Forms.Form
  4. 'Form overrides dispose to clean up the component list.
  5. <System.Diagnostics.DebuggerNonUserCode()> _
  6. Protected Overrides Sub Dispose(ByVal disposing As Boolean)
  7. Try
  8. If disposing AndAlso components IsNot Nothing Then
  9. components.Dispose()
  10. End If
  11. Finally
  12. MyBase.Dispose(disposing)
  13. End Try
  14. End Sub
  15. 'Required by the Windows Form Designer
  16. Private components As System.ComponentModel.IContainer
  17. 'NOTE: The following procedure is required by the Windows Form Designer
  18. 'It can be modified using the Windows Form Designer.
  19. 'Do not modify it using the code editor.
  20. <System.Diagnostics.DebuggerStepThrough()> _
  21. Private Sub InitializeComponent()
  22. Dim resources As System.ComponentModel.ComponentResourceManager = New System.ComponentModel.ComponentResourceManager(GetType(MainForm))
  23. Me.GroupBox1 = New System.Windows.Forms.GroupBox
  24. Me.Label1 = New System.Windows.Forms.Label
  25. Me.btnPrint = New System.Windows.Forms.Button
  26. Me.PrintDocument1 = New System.Drawing.Printing.PrintDocument
  27. Me.PrintPreviewDialog1 = New System.Windows.Forms.PrintPreviewDialog
  28. Me.GroupBox1.SuspendLayout()
  29. Me.SuspendLayout()
  30. '
  31. 'GroupBox1
  32. '
  33. Me.GroupBox1.Controls.Add(Me.Label1)
  34. Me.GroupBox1.Controls.Add(Me.btnPrint)
  35. Me.GroupBox1.Font = New System.Drawing.Font("Verdana", 9.75!)
  36. Me.GroupBox1.Location = New System.Drawing.Point(30, 22)
  37. Me.GroupBox1.Name = "GroupBox1"
  38. Me.GroupBox1.Size = New System.Drawing.Size(636, 388)
  39. Me.GroupBox1.TabIndex = 10
  40. Me.GroupBox1.TabStop = False
  41. Me.GroupBox1.Text = "Printing"
  42. '
  43. 'Label1
  44. '
  45. Me.Label1.Location = New System.Drawing.Point(31, 57)
  46. Me.Label1.Name = "Label1"
  47. Me.Label1.Size = New System.Drawing.Size(507, 22)
  48. Me.Label1.TabIndex = 0
  49. Me.Label1.Text = "This example demonstrates the standard Windows Forms print jobs."
  50. '
  51. 'btnPrint
  52. '
  53. Me.btnPrint.Location = New System.Drawing.Point(34, 110)
  54. Me.btnPrint.Name = "btnPrint"
  55. Me.btnPrint.Size = New System.Drawing.Size(130, 23)
  56. Me.btnPrint.TabIndex = 0
  57. Me.btnPrint.Text = "Start Printing"
  58. Me.btnPrint.UseVisualStyleBackColor = True
  59. '
  60. 'PrintPreviewDialog1
  61. '
  62. Me.PrintPreviewDialog1.AutoScrollMargin = New System.Drawing.Size(0, 0)
  63. Me.PrintPreviewDialog1.AutoScrollMinSize = New System.Drawing.Size(0, 0)
  64. Me.PrintPreviewDialog1.ClientSize = New System.Drawing.Size(400, 300)
  65. Me.PrintPreviewDialog1.Enabled = True
  66. Me.PrintPreviewDialog1.Icon = CType(resources.GetObject("PrintPreviewDialog1.Icon"), System.Drawing.Icon)
  67. Me.PrintPreviewDialog1.Name = "PrintPreviewDialog1"
  68. Me.PrintPreviewDialog1.Visible = False
  69. '
  70. 'MainForm
  71. '
  72. Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!)
  73. Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
  74. Me.ClientSize = New System.Drawing.Size(689, 438)
  75. Me.Controls.Add(Me.GroupBox1)
  76. Me.Name = "MainForm"
  77. Me.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen
  78. Me.Text = "VBWinFormPrinting"
  79. Me.GroupBox1.ResumeLayout(False)
  80. Me.ResumeLayout(False)
  81. End Sub
  82. Private WithEvents GroupBox1 As System.Windows.Forms.GroupBox
  83. Private WithEvents Label1 As System.Windows.Forms.Label
  84. Private WithEvents btnPrint As System.Windows.Forms.Button
  85. Friend WithEvents PrintDocument1 As System.Drawing.Printing.PrintDocument
  86. Friend WithEvents PrintPreviewDialog1 As System.Windows.Forms.PrintPreviewDialog
  87. End Class