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-ProvideStatusInfo / Form1.vb < prev    next >
Text File  |  2001-09-16  |  3KB  |  79 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 StatusBar1 As System.Windows.Forms.StatusBar
  26.     Friend WithEvents StatusBarPanel1 As System.Windows.Forms.StatusBarPanel
  27.     Friend WithEvents StatusBarPanel2 As System.Windows.Forms.StatusBarPanel
  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.         Dim resources As System.Resources.ResourceManager = New System.Resources.ResourceManager(GetType(Form1))
  37.         Me.StatusBar1 = New System.Windows.Forms.StatusBar()
  38.         Me.StatusBarPanel1 = New System.Windows.Forms.StatusBarPanel()
  39.         Me.StatusBarPanel2 = New System.Windows.Forms.StatusBarPanel()
  40.         CType(Me.StatusBarPanel1, System.ComponentModel.ISupportInitialize).BeginInit()
  41.         CType(Me.StatusBarPanel2, System.ComponentModel.ISupportInitialize).BeginInit()
  42.         Me.SuspendLayout()
  43.         '
  44.         'StatusBar1
  45.         '
  46.         Me.StatusBar1.Location = New System.Drawing.Point(0, 241)
  47.         Me.StatusBar1.Name = "StatusBar1"
  48.         Me.StatusBar1.ShowPanels = True
  49.         Me.StatusBar1.Size = New System.Drawing.Size(292, 32)
  50.         Me.StatusBar1.TabIndex = 0
  51.         '
  52.         'StatusBarPanel1
  53.         '
  54.         Me.StatusBarPanel1.Icon = CType(resources.GetObject("StatusBarPanel1.Icon"), System.Drawing.Icon)
  55.         Me.StatusBarPanel1.Text = "Net - OK"
  56.         Me.StatusBarPanel1.Width = 90
  57.         '
  58.         'StatusBarPanel2
  59.         '
  60.         Me.StatusBarPanel2.Icon = CType(resources.GetObject("StatusBarPanel2.Icon"), System.Drawing.Icon)
  61.         Me.StatusBarPanel2.Text = "Low memory"
  62.         '
  63.         'Form1
  64.         '
  65.         Me.AutoScaleBaseSize = New System.Drawing.Size(5, 13)
  66.         Me.ClientSize = New System.Drawing.Size(292, 273)
  67.         Me.Controls.AddRange(New System.Windows.Forms.Control() {Me.StatusBar1})
  68.         Me.Name = "Form1"
  69.         Me.Text = " "
  70.         CType(Me.StatusBarPanel1, System.ComponentModel.ISupportInitialize).EndInit()
  71.         CType(Me.StatusBarPanel2, System.ComponentModel.ISupportInitialize).EndInit()
  72.         Me.ResumeLayout(False)
  73.  
  74.     End Sub
  75.  
  76. #End Region
  77.  
  78. End Class
  79.