home *** CD-ROM | disk | FTP | other *** search
/ Programming Microsoft Visual Basic .NET / Programming Microsoft Visual Basic .NET (Microsoft Press)(X08-78517)(2002).bin / setup / vbnet / 17 controls / customcontrolstest / textboxexform.vb < prev   
Encoding:
Text File  |  2002-03-19  |  3.4 KB  |  90 lines

  1. Public Class TextBoxExForm
  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.  
  26.     Friend WithEvents TextBoxEx1 As CustomControlDemo.TextBoxEx
  27.     Friend WithEvents FileTextBox1 As CustomControlDemo.FileTextBox
  28.     Friend WithEvents lblStatus As System.Windows.Forms.Label
  29.  
  30.     'Required by the Windows Form Designer
  31.     Private components As System.ComponentModel.Container
  32.  
  33.     'NOTE: The following procedure is required by the Windows Form Designer
  34.     'It can be modified using the Windows Form Designer.  
  35.     'Do not modify it using the code editor.
  36.     <System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
  37.         Me.TextBoxEx1 = New CustomControlDemo.TextBoxEx()
  38.         Me.lblStatus = New System.Windows.Forms.Label()
  39.         Me.FileTextBox1 = New CustomControlDemo.FileTextBox()
  40.         Me.SuspendLayout()
  41.         '
  42.         'TextBoxEx1
  43.         '
  44.         Me.TextBoxEx1.DisplayControl = Me.lblStatus
  45.         Me.TextBoxEx1.ErrorMessage = Nothing
  46.         Me.TextBoxEx1.IsRequired = False
  47.         Me.TextBoxEx1.Location = New System.Drawing.Point(32, 32)
  48.         Me.TextBoxEx1.Name = "TextBoxEx1"
  49.         Me.TextBoxEx1.Size = New System.Drawing.Size(120, 24)
  50.         Me.TextBoxEx1.TabIndex = 0
  51.         Me.TextBoxEx1.Text = "TextBoxEx1"
  52.         Me.TextBoxEx1.ValidateRegex = Nothing
  53.         Me.TextBoxEx1.ValidType = CustomControlDemo.TextBoxEx.ValidTypes.Any
  54.         '
  55.         'lblStatus
  56.         '
  57.         Me.lblStatus.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D
  58.         Me.lblStatus.Dock = System.Windows.Forms.DockStyle.Bottom
  59.         Me.lblStatus.Location = New System.Drawing.Point(0, 249)
  60.         Me.lblStatus.Name = "lblStatus"
  61.         Me.lblStatus.Size = New System.Drawing.Size(292, 24)
  62.         Me.lblStatus.TabIndex = 2
  63.         '
  64.         'FileTextBox1
  65.         '
  66.         Me.FileTextBox1.Filename = ""
  67.         Me.FileTextBox1.Filter = "All Files (*.*)|*.*"
  68.         Me.FileTextBox1.FilterIndex = 1
  69.         Me.FileTextBox1.ForeColor = System.Drawing.SystemColors.WindowText
  70.         Me.FileTextBox1.Location = New System.Drawing.Point(32, 112)
  71.         Me.FileTextBox1.Name = "FileTextBox1"
  72.         Me.FileTextBox1.Size = New System.Drawing.Size(200, 24)
  73.         Me.FileTextBox1.TabIndex = 1
  74.         '
  75.         'TextBoxExForm
  76.         '
  77.         Me.AutoScaleBaseSize = New System.Drawing.Size(7, 17)
  78.         Me.ClientSize = New System.Drawing.Size(292, 273)
  79.         Me.Controls.AddRange(New System.Windows.Forms.Control() {Me.lblStatus, Me.FileTextBox1, Me.TextBoxEx1})
  80.         Me.Font = New System.Drawing.Font("Microsoft Sans Serif", 11.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
  81.         Me.Name = "TextBoxExForm"
  82.         Me.Text = "TextBoxExForm"
  83.         Me.ResumeLayout(False)
  84.  
  85.     End Sub
  86.  
  87. #End Region
  88.  
  89. End Class
  90.