home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic .NET - Read Less - Learn More / Visual_Basic.NET_Read_Less_Learn_More_Richard_Bowman_Visual_2002.iso / Resources / Code / Ch3-AllowTextEntry / Form1.vb < prev    next >
Text File  |  2001-09-16  |  3KB  |  81 lines

  1. Public Class Form1
  2.     Inherits System.Windows.Forms.Form
  3.  
  4. #Region " Windows Form Designer generated code "
  5.  
  6.     Public Sub New()
  7.         MyBase.New()
  8.  
  9.         'This call is required by the Windows Form Designer.
  10.         InitializeComponent()
  11.  
  12.         'Add any initialization after the InitializeComponent() call
  13.  
  14.     End Sub
  15.  
  16.     'Form overrides dispose to clean up the component list.
  17.     Protected Overloads Overrides Sub Dispose(ByVal disposing As Boolean)
  18.         If disposing Then
  19.             If Not (components Is Nothing) Then
  20.                 components.Dispose()
  21.             End If
  22.         End If
  23.         MyBase.Dispose(disposing)
  24.     End Sub
  25.     Friend WithEvents Label1 As System.Windows.Forms.Label
  26.     Friend WithEvents TextBox1 As System.Windows.Forms.TextBox
  27.     Friend WithEvents TextBox2 As System.Windows.Forms.TextBox
  28.  
  29.     'Required by the Windows Form Designer
  30.     Private components As System.ComponentModel.Container
  31.  
  32.     'NOTE: The following procedure is required by the Windows Form Designer
  33.     'It can be modified using the Windows Form Designer.  
  34.     'Do not modify it using the code editor.
  35.     <System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
  36.         Me.Label1 = New System.Windows.Forms.Label()
  37.         Me.TextBox1 = New System.Windows.Forms.TextBox()
  38.         Me.TextBox2 = New System.Windows.Forms.TextBox()
  39.         Me.SuspendLayout()
  40.         '
  41.         'Label1
  42.         '
  43.         Me.Label1.Location = New System.Drawing.Point(16, 72)
  44.         Me.Label1.Name = "Label1"
  45.         Me.Label1.Size = New System.Drawing.Size(80, 16)
  46.         Me.Label1.TabIndex = 0
  47.         Me.Label1.Text = "Name:"
  48.         '
  49.         'TextBox1
  50.         '
  51.         Me.TextBox1.Location = New System.Drawing.Point(104, 72)
  52.         Me.TextBox1.Name = "TextBox1"
  53.         Me.TextBox1.Size = New System.Drawing.Size(160, 20)
  54.         Me.TextBox1.TabIndex = 1
  55.         Me.TextBox1.Text = ""
  56.         '
  57.         'TextBox2
  58.         '
  59.         Me.TextBox2.Location = New System.Drawing.Point(48, 128)
  60.         Me.TextBox2.Multiline = True
  61.         Me.TextBox2.Name = "TextBox2"
  62.         Me.TextBox2.ScrollBars = System.Windows.Forms.ScrollBars.Vertical
  63.         Me.TextBox2.Size = New System.Drawing.Size(200, 104)
  64.         Me.TextBox2.TabIndex = 2
  65.         Me.TextBox2.Text = "TextBox2"
  66.         '
  67.         'Form1
  68.         '
  69.         Me.AutoScaleBaseSize = New System.Drawing.Size(5, 13)
  70.         Me.ClientSize = New System.Drawing.Size(292, 273)
  71.         Me.Controls.AddRange(New System.Windows.Forms.Control() {Me.TextBox2, Me.TextBox1, Me.Label1})
  72.         Me.Name = "Form1"
  73.         Me.Text = "Form1"
  74.         Me.ResumeLayout(False)
  75.  
  76.     End Sub
  77.  
  78. #End Region
  79.  
  80. End Class
  81.