<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ru">
		<id>http://www.vbex.ru/index.php?action=history&amp;feed=atom&amp;title=VB.Net%2FGUI%2FStatus_Bar</id>
		<title>VB.Net/GUI/Status Bar - История изменений</title>
		<link rel="self" type="application/atom+xml" href="http://www.vbex.ru/index.php?action=history&amp;feed=atom&amp;title=VB.Net%2FGUI%2FStatus_Bar"/>
		<link rel="alternate" type="text/html" href="http://www.vbex.ru/index.php?title=VB.Net/GUI/Status_Bar&amp;action=history"/>
		<updated>2026-04-05T08:57:27Z</updated>
		<subtitle>История изменений этой страницы в вики</subtitle>
		<generator>MediaWiki 1.30.0</generator>

	<entry>
		<id>http://www.vbex.ru/index.php?title=VB.Net/GUI/Status_Bar&amp;diff=426&amp;oldid=prev</id>
		<title> в 16:40, 26 мая 2010</title>
		<link rel="alternate" type="text/html" href="http://www.vbex.ru/index.php?title=VB.Net/GUI/Status_Bar&amp;diff=426&amp;oldid=prev"/>
				<updated>2010-05-26T16:40:06Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr style=&quot;vertical-align: top;&quot; lang=&quot;ru&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Предыдущая&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Версия 16:40, 26 мая 2010&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; style=&quot;text-align: center;&quot; lang=&quot;ru&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(нет различий)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
			</entry>

	<entry>
		<id>http://www.vbex.ru/index.php?title=VB.Net/GUI/Status_Bar&amp;diff=427&amp;oldid=prev</id>
		<title>Admin: 1 версия</title>
		<link rel="alternate" type="text/html" href="http://www.vbex.ru/index.php?title=VB.Net/GUI/Status_Bar&amp;diff=427&amp;oldid=prev"/>
				<updated>2010-05-26T12:43:00Z</updated>
		
		<summary type="html">&lt;p&gt;1 версия&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Новая страница&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==Click Button to Set Status Bar Text==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
&amp;lt;source lang=&amp;quot;vbnet&amp;quot;&amp;gt;&lt;br /&gt;
Imports System&lt;br /&gt;
Imports System.Collections&lt;br /&gt;
Imports System.ruponentModel&lt;br /&gt;
Imports System.Windows.Forms&lt;br /&gt;
Imports System.Data&lt;br /&gt;
Imports System.Configuration&lt;br /&gt;
Imports System.Resources&lt;br /&gt;
Imports System.Drawing&lt;br /&gt;
Imports System.Drawing.Drawing2D&lt;br /&gt;
&lt;br /&gt;
Public Class MainClass&lt;br /&gt;
    Shared Sub Main()&lt;br /&gt;
        Dim myform As Form = New Form1()&lt;br /&gt;
        Application.Run(myform)&lt;br /&gt;
    End Sub&lt;br /&gt;
End Class&lt;br /&gt;
Public Class Form1&lt;br /&gt;
    Private Sub copyToolStripButton_Click(ByVal sender As Object, _&lt;br /&gt;
        ByVal e As System.EventArgs) Handles copyToolStripButton.Click&lt;br /&gt;
        &amp;quot;Update the status bar&lt;br /&gt;
        sspStatus.Text = &amp;quot;The Copy button was clicked.&amp;quot;&lt;br /&gt;
    End Sub&lt;br /&gt;
    Private Sub cutToolStripButton_Click(ByVal sender As Object, _&lt;br /&gt;
        ByVal e As System.EventArgs) Handles cutToolStripButton.Click&lt;br /&gt;
        &amp;quot;Update the status bar&lt;br /&gt;
        sspStatus.Text = &amp;quot;The Cut button was clicked.&amp;quot;&lt;br /&gt;
    End Sub&lt;br /&gt;
    Private Sub helpToolStripButton_Click(ByVal sender As Object, _&lt;br /&gt;
        ByVal e As System.EventArgs) Handles helpToolStripButton.Click&lt;br /&gt;
        &amp;quot;Update the status bar&lt;br /&gt;
        sspStatus.Text = &amp;quot;The Help button was clicked.&amp;quot;&lt;br /&gt;
    End Sub&lt;br /&gt;
    Private Sub newToolStripButton_Click(ByVal sender As Object, _&lt;br /&gt;
        ByVal e As System.EventArgs) Handles newToolStripButton.Click&lt;br /&gt;
        &amp;quot;Update the status bar&lt;br /&gt;
        sspStatus.Text = &amp;quot;The New button was clicked.&amp;quot;&lt;br /&gt;
    End Sub&lt;br /&gt;
    Private Sub openToolStripButton_Click(ByVal sender As Object, _&lt;br /&gt;
        ByVal e As System.EventArgs) Handles openToolStripButton.Click&lt;br /&gt;
        &amp;quot;Update the status bar&lt;br /&gt;
        sspStatus.Text = &amp;quot;The Open button was clicked.&amp;quot;&lt;br /&gt;
    End Sub&lt;br /&gt;
    Private Sub pasteToolStripButton_Click(ByVal sender As Object, _&lt;br /&gt;
        ByVal e As System.EventArgs) Handles pasteToolStripButton.Click&lt;br /&gt;
        &amp;quot;Update the status bar&lt;br /&gt;
        sspStatus.Text = &amp;quot;The Paste button was clicked.&amp;quot;&lt;br /&gt;
    End Sub&lt;br /&gt;
    Private Sub printToolStripButton_Click(ByVal sender As Object, _&lt;br /&gt;
        ByVal e As System.EventArgs) Handles printToolStripButton.Click&lt;br /&gt;
        &amp;quot;Update the status bar&lt;br /&gt;
        sspStatus.Text = &amp;quot;The Print button was clicked.&amp;quot;&lt;br /&gt;
    End Sub&lt;br /&gt;
    Private Sub saveToolStripButton_Click(ByVal sender As Object, _&lt;br /&gt;
        ByVal e As System.EventArgs) Handles saveToolStripButton.Click&lt;br /&gt;
        &amp;quot;Update the status bar&lt;br /&gt;
        sspStatus.Text = &amp;quot;The Save button was clicked.&amp;quot;&lt;br /&gt;
    End Sub&lt;br /&gt;
End Class&lt;br /&gt;
&amp;lt;Global.Microsoft.VisualBasic.rupilerServices.DesignerGenerated()&amp;gt; _&lt;br /&gt;
Partial Public Class Form1&lt;br /&gt;
    Inherits System.Windows.Forms.Form&lt;br /&gt;
    &amp;quot;Form overrides dispose to clean up the component list.&lt;br /&gt;
    &amp;lt;System.Diagnostics.DebuggerNonUserCode()&amp;gt; _&lt;br /&gt;
    Protected Overloads Overrides Sub Dispose(ByVal disposing As Boolean)&lt;br /&gt;
        If disposing AndAlso components IsNot Nothing Then&lt;br /&gt;
            components.Dispose()&lt;br /&gt;
        End If&lt;br /&gt;
        MyBase.Dispose(disposing)&lt;br /&gt;
    End Sub&lt;br /&gt;
    &amp;quot;Required by the Windows Form Designer&lt;br /&gt;
    Private components As System.ruponentModel.IContainer&lt;br /&gt;
    &amp;quot;NOTE: The following procedure is required by the Windows Form Designer&lt;br /&gt;
    &amp;quot;It can be modified using the Windows Form Designer.  &lt;br /&gt;
    &amp;quot;Do not modify it using the code editor.&lt;br /&gt;
    &amp;lt;System.Diagnostics.DebuggerStepThrough()&amp;gt; _&lt;br /&gt;
    Private Sub InitializeComponent()&lt;br /&gt;
&amp;quot;        Dim resources As System.ruponentModel.ruponentResourceManager = New System.ruponentModel.ruponentResourceManager(GetType(Form1))&lt;br /&gt;
        Me.ToolStrip1 = New System.Windows.Forms.ToolStrip&lt;br /&gt;
        Me.newToolStripButton = New System.Windows.Forms.ToolStripButton&lt;br /&gt;
        Me.openToolStripButton = New System.Windows.Forms.ToolStripButton&lt;br /&gt;
        Me.saveToolStripButton = New System.Windows.Forms.ToolStripButton&lt;br /&gt;
        Me.printToolStripButton = New System.Windows.Forms.ToolStripButton&lt;br /&gt;
        Me.toolStripSeparator = New System.Windows.Forms.ToolStripSeparator&lt;br /&gt;
        Me.cutToolStripButton = New System.Windows.Forms.ToolStripButton&lt;br /&gt;
        Me.copyToolStripButton = New System.Windows.Forms.ToolStripButton&lt;br /&gt;
        Me.pasteToolStripButton = New System.Windows.Forms.ToolStripButton&lt;br /&gt;
        Me.toolStripSeparator1 = New System.Windows.Forms.ToolStripSeparator&lt;br /&gt;
        Me.helpToolStripButton = New System.Windows.Forms.ToolStripButton&lt;br /&gt;
        Me.StatusStrip1 = New System.Windows.Forms.StatusStrip&lt;br /&gt;
        Me.sspStatus = New System.Windows.Forms.ToolStripStatusLabel&lt;br /&gt;
        Me.ToolStrip1.SuspendLayout()&lt;br /&gt;
        Me.StatusStrip1.SuspendLayout()&lt;br /&gt;
        Me.SuspendLayout()&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        &amp;quot;ToolStrip1&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        Me.ToolStrip1.Items.AddRange(New System.Windows.Forms.ToolStripItem() {Me.newToolStripButton, Me.openToolStripButton, Me.saveToolStripButton, Me.printToolStripButton, Me.toolStripSeparator, Me.cutToolStripButton, Me.copyToolStripButton, Me.pasteToolStripButton, Me.toolStripSeparator1, Me.helpToolStripButton})&lt;br /&gt;
        Me.ToolStrip1.Location = New System.Drawing.Point(0, 0)&lt;br /&gt;
        Me.ToolStrip1.Name = &amp;quot;ToolStrip1&amp;quot;&lt;br /&gt;
        Me.ToolStrip1.Size = New System.Drawing.Size(292, 25)&lt;br /&gt;
        Me.ToolStrip1.TabIndex = 0&lt;br /&gt;
        Me.ToolStrip1.Text = &amp;quot;ToolStrip1&amp;quot;&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        &amp;quot;newToolStripButton&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        Me.newToolStripButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image&lt;br /&gt;
&amp;quot;        Me.newToolStripButton.Image = CType(resources.GetObject(&amp;quot;newToolStripButton.Image&amp;quot;), System.Drawing.Image)&lt;br /&gt;
        Me.newToolStripButton.ImageTransparentColor = System.Drawing.Color.Magenta&lt;br /&gt;
        Me.newToolStripButton.Name = &amp;quot;newToolStripButton&amp;quot;&lt;br /&gt;
        Me.newToolStripButton.Text = &amp;quot;&amp;amp;New&amp;quot;&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        &amp;quot;openToolStripButton&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        Me.openToolStripButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image&lt;br /&gt;
&amp;quot;        Me.openToolStripButton.Image = CType(resources.GetObject(&amp;quot;openToolStripButton.Image&amp;quot;), System.Drawing.Image)&lt;br /&gt;
        Me.openToolStripButton.ImageTransparentColor = System.Drawing.Color.Magenta&lt;br /&gt;
        Me.openToolStripButton.Name = &amp;quot;openToolStripButton&amp;quot;&lt;br /&gt;
        Me.openToolStripButton.Text = &amp;quot;&amp;amp;Open&amp;quot;&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        &amp;quot;saveToolStripButton&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        Me.saveToolStripButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image&lt;br /&gt;
&amp;quot;        Me.saveToolStripButton.Image = CType(resources.GetObject(&amp;quot;saveToolStripButton.Image&amp;quot;), System.Drawing.Image)&lt;br /&gt;
        Me.saveToolStripButton.ImageTransparentColor = System.Drawing.Color.Magenta&lt;br /&gt;
        Me.saveToolStripButton.Name = &amp;quot;saveToolStripButton&amp;quot;&lt;br /&gt;
        Me.saveToolStripButton.Text = &amp;quot;&amp;amp;Save&amp;quot;&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        &amp;quot;printToolStripButton&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        Me.printToolStripButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image&lt;br /&gt;
&amp;quot;        Me.printToolStripButton.Image = CType(resources.GetObject(&amp;quot;printToolStripButton.Image&amp;quot;), System.Drawing.Image)&lt;br /&gt;
        Me.printToolStripButton.ImageTransparentColor = System.Drawing.Color.Magenta&lt;br /&gt;
        Me.printToolStripButton.Name = &amp;quot;printToolStripButton&amp;quot;&lt;br /&gt;
        Me.printToolStripButton.Text = &amp;quot;&amp;amp;Print&amp;quot;&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        &amp;quot;toolStripSeparator&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        Me.toolStripSeparator.Name = &amp;quot;toolStripSeparator&amp;quot;&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        &amp;quot;cutToolStripButton&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        Me.cutToolStripButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image&lt;br /&gt;
&amp;quot;        Me.cutToolStripButton.Image = CType(resources.GetObject(&amp;quot;cutToolStripButton.Image&amp;quot;), System.Drawing.Image)&lt;br /&gt;
        Me.cutToolStripButton.ImageTransparentColor = System.Drawing.Color.Magenta&lt;br /&gt;
        Me.cutToolStripButton.Name = &amp;quot;cutToolStripButton&amp;quot;&lt;br /&gt;
        Me.cutToolStripButton.Text = &amp;quot;C&amp;amp;ut&amp;quot;&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        &amp;quot;copyToolStripButton&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        Me.copyToolStripButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image&lt;br /&gt;
&amp;quot;        Me.copyToolStripButton.Image = CType(resources.GetObject(&amp;quot;copyToolStripButton.Image&amp;quot;), System.Drawing.Image)&lt;br /&gt;
        Me.copyToolStripButton.ImageTransparentColor = System.Drawing.Color.Magenta&lt;br /&gt;
        Me.copyToolStripButton.Name = &amp;quot;copyToolStripButton&amp;quot;&lt;br /&gt;
        Me.copyToolStripButton.Text = &amp;quot;&amp;amp;Copy&amp;quot;&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        &amp;quot;pasteToolStripButton&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        Me.pasteToolStripButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image&lt;br /&gt;
&amp;quot;        Me.pasteToolStripButton.Image = CType(resources.GetObject(&amp;quot;pasteToolStripButton.Image&amp;quot;), System.Drawing.Image)&lt;br /&gt;
        Me.pasteToolStripButton.ImageTransparentColor = System.Drawing.Color.Magenta&lt;br /&gt;
        Me.pasteToolStripButton.Name = &amp;quot;pasteToolStripButton&amp;quot;&lt;br /&gt;
        Me.pasteToolStripButton.Text = &amp;quot;&amp;amp;Paste&amp;quot;&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        &amp;quot;toolStripSeparator1&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        Me.toolStripSeparator1.Name = &amp;quot;toolStripSeparator1&amp;quot;&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        &amp;quot;helpToolStripButton&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        Me.helpToolStripButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image&lt;br /&gt;
&amp;quot;        Me.helpToolStripButton.Image = CType(resources.GetObject(&amp;quot;helpToolStripButton.Image&amp;quot;), System.Drawing.Image)&lt;br /&gt;
        Me.helpToolStripButton.ImageTransparentColor = System.Drawing.Color.Magenta&lt;br /&gt;
        Me.helpToolStripButton.Name = &amp;quot;helpToolStripButton&amp;quot;&lt;br /&gt;
        Me.helpToolStripButton.Text = &amp;quot;He&amp;amp;lp&amp;quot;&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        &amp;quot;StatusStrip1&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        Me.StatusStrip1.Items.AddRange(New System.Windows.Forms.ToolStripItem() {Me.sspStatus})&lt;br /&gt;
        Me.StatusStrip1.LayoutStyle = System.Windows.Forms.ToolStripLayoutStyle.Table&lt;br /&gt;
        Me.StatusStrip1.Location = New System.Drawing.Point(0, 251)&lt;br /&gt;
        Me.StatusStrip1.Name = &amp;quot;StatusStrip1&amp;quot;&lt;br /&gt;
        Me.StatusStrip1.Size = New System.Drawing.Size(292, 22)&lt;br /&gt;
        Me.StatusStrip1.TabIndex = 1&lt;br /&gt;
        Me.StatusStrip1.Text = &amp;quot;StatusStrip1&amp;quot;&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        &amp;quot;sspStatus&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        Me.sspStatus.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text&lt;br /&gt;
        Me.sspStatus.Name = &amp;quot;sspStatus&amp;quot;&lt;br /&gt;
        Me.sspStatus.Text = &amp;quot;Ready&amp;quot;&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        &amp;quot;Form1&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!)&lt;br /&gt;
        Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font&lt;br /&gt;
        Me.ClientSize = New System.Drawing.Size(292, 273)&lt;br /&gt;
        Me.Controls.Add(Me.ToolStrip1)&lt;br /&gt;
        Me.Controls.Add(Me.StatusStrip1)&lt;br /&gt;
        Me.Name = &amp;quot;Form1&amp;quot;&lt;br /&gt;
        Me.Text = &amp;quot;Form1&amp;quot;&lt;br /&gt;
        Me.ToolStrip1.ResumeLayout(False)&lt;br /&gt;
        Me.StatusStrip1.ResumeLayout(False)&lt;br /&gt;
        Me.ResumeLayout(False)&lt;br /&gt;
        Me.PerformLayout()&lt;br /&gt;
    End Sub&lt;br /&gt;
    Friend WithEvents ToolStrip1 As System.Windows.Forms.ToolStrip&lt;br /&gt;
    Friend WithEvents newToolStripButton As System.Windows.Forms.ToolStripButton&lt;br /&gt;
    Friend WithEvents openToolStripButton As System.Windows.Forms.ToolStripButton&lt;br /&gt;
    Friend WithEvents saveToolStripButton As System.Windows.Forms.ToolStripButton&lt;br /&gt;
    Friend WithEvents printToolStripButton As System.Windows.Forms.ToolStripButton&lt;br /&gt;
    Friend WithEvents toolStripSeparator As System.Windows.Forms.ToolStripSeparator&lt;br /&gt;
    Friend WithEvents cutToolStripButton As System.Windows.Forms.ToolStripButton&lt;br /&gt;
    Friend WithEvents copyToolStripButton As System.Windows.Forms.ToolStripButton&lt;br /&gt;
    Friend WithEvents pasteToolStripButton As System.Windows.Forms.ToolStripButton&lt;br /&gt;
    Friend WithEvents toolStripSeparator1 As System.Windows.Forms.ToolStripSeparator&lt;br /&gt;
    Friend WithEvents helpToolStripButton As System.Windows.Forms.ToolStripButton&lt;br /&gt;
    Friend WithEvents StatusStrip1 As System.Windows.Forms.StatusStrip&lt;br /&gt;
    Friend WithEvents sspStatus As System.Windows.Forms.ToolStripStatusLabel&lt;br /&gt;
End Class&lt;br /&gt;
           &lt;br /&gt;
       &amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==StatusBar: Icon panel and information panel==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
&amp;lt;source lang=&amp;quot;vbnet&amp;quot;&amp;gt;&lt;br /&gt;
Imports System&lt;br /&gt;
Imports System.Collections&lt;br /&gt;
Imports System.Data&lt;br /&gt;
Imports System.Drawing&lt;br /&gt;
Imports System.Windows.Forms&lt;br /&gt;
Imports System.ruponentModel&lt;br /&gt;
Imports System.Drawing.Drawing2D&lt;br /&gt;
Imports System.IO&lt;br /&gt;
Public Class MainClass&lt;br /&gt;
    &lt;br /&gt;
    Shared Sub Main()&lt;br /&gt;
        Dim form1 As Form = New Form1&lt;br /&gt;
        Application.Run(form1)&lt;br /&gt;
&lt;br /&gt;
    End Sub&lt;br /&gt;
End Class&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Public Class Form1&lt;br /&gt;
    Inherits System.Windows.Forms.Form&lt;br /&gt;
#Region &amp;quot; Windows Form Designer generated code &amp;quot;&lt;br /&gt;
    Public Sub New()&lt;br /&gt;
        MyBase.New()&lt;br /&gt;
        &amp;quot;This call is required by the Windows Form Designer.&lt;br /&gt;
        InitializeComponent()&lt;br /&gt;
        &amp;quot;Add any initialization after the InitializeComponent() call&lt;br /&gt;
    End Sub&lt;br /&gt;
    &amp;quot;Form overrides dispose to clean up the component list.&lt;br /&gt;
    Protected Overloads Overrides Sub Dispose(ByVal disposing As Boolean)&lt;br /&gt;
        If disposing Then&lt;br /&gt;
            If Not (components Is Nothing) Then&lt;br /&gt;
                components.Dispose()&lt;br /&gt;
            End If&lt;br /&gt;
        End If&lt;br /&gt;
        MyBase.Dispose(disposing)&lt;br /&gt;
    End Sub&lt;br /&gt;
    &amp;quot;Required by the Windows Form Designer&lt;br /&gt;
    Private components As System.ruponentModel.IContainer&lt;br /&gt;
    &amp;quot;NOTE: The following procedure is required by the Windows Form Designer&lt;br /&gt;
    &amp;quot;It can be modified using the Windows Form Designer.  &lt;br /&gt;
    &amp;quot;Do not modify it using the code editor.&lt;br /&gt;
    Friend WithEvents StatusBar1 As System.Windows.Forms.StatusBar&lt;br /&gt;
    &amp;lt;System.Diagnostics.DebuggerStepThrough()&amp;gt; Private Sub InitializeComponent()&lt;br /&gt;
        Me.StatusBar1 = New System.Windows.Forms.StatusBar()&lt;br /&gt;
        Me.SuspendLayout()&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        &amp;quot;StatusBar1&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        Me.StatusBar1.Location = New System.Drawing.Point(0, 94)&lt;br /&gt;
        Me.StatusBar1.Name = &amp;quot;StatusBar1&amp;quot;&lt;br /&gt;
        Me.StatusBar1.ShowPanels = True&lt;br /&gt;
        Me.StatusBar1.Size = New System.Drawing.Size(304, 24)&lt;br /&gt;
        Me.StatusBar1.SizingGrip = False&lt;br /&gt;
        Me.StatusBar1.TabIndex = 0&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        &amp;quot;Form1&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        Me.AutoScaleBaseSize = New System.Drawing.Size(5, 14)&lt;br /&gt;
        Me.ClientSize = New System.Drawing.Size(304, 118)&lt;br /&gt;
        Me.Controls.AddRange(New System.Windows.Forms.Control() {Me.StatusBar1})&lt;br /&gt;
        Me.Font = New System.Drawing.Font(&amp;quot;Tahoma&amp;quot;, 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))&lt;br /&gt;
        Me.Name = &amp;quot;Form1&amp;quot;&lt;br /&gt;
        Me.Text = &amp;quot;StatusBar Example&amp;quot;&lt;br /&gt;
        Me.ResumeLayout(False)&lt;br /&gt;
    End Sub&lt;br /&gt;
#End Region&lt;br /&gt;
    Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load&lt;br /&gt;
        Dim pnlStatus As New StatusBarPanel()&lt;br /&gt;
        pnlStatus.Text = &amp;quot;Ready&amp;quot;&lt;br /&gt;
        pnlStatus.Icon = New Icon(&amp;quot;test.ico&amp;quot;)&lt;br /&gt;
        pnlStatus.AutoSize = StatusBarPanelAutoSize.Contents&lt;br /&gt;
        Dim pnlConnection As New StatusBarPanel()&lt;br /&gt;
        pnlConnection.Text = &amp;quot;Connected to &amp;quot; &amp;amp; &amp;quot;localhost&amp;quot;&lt;br /&gt;
        pnlConnection.AutoSize = StatusBarPanelAutoSize.Spring&lt;br /&gt;
        StatusBar1.Panels.Add(pnlStatus)&lt;br /&gt;
        StatusBar1.Panels.Add(pnlConnection)&lt;br /&gt;
    End Sub&lt;br /&gt;
End Class&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
           &lt;br /&gt;
       &amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Status Bar in Action==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
&amp;lt;source lang=&amp;quot;vbnet&amp;quot;&amp;gt;&lt;br /&gt;
Imports System&lt;br /&gt;
Imports System.Data&lt;br /&gt;
Imports System.Collections&lt;br /&gt;
Imports System.Windows.Forms&lt;br /&gt;
Public Class MainClass&lt;br /&gt;
    Shared Sub Main()&lt;br /&gt;
        Dim form1 As Form = New TextEditor()&lt;br /&gt;
        Application.Run(form1)&lt;br /&gt;
    End Sub&lt;br /&gt;
End Class&lt;br /&gt;
Public Class TextEditor&lt;br /&gt;
    Inherits System.Windows.Forms.Form&lt;br /&gt;
#Region &amp;quot; Windows Form Designer generated code &amp;quot;&lt;br /&gt;
    Public Sub New()&lt;br /&gt;
        MyBase.New()&lt;br /&gt;
        &amp;quot;This call is required by the Windows Form Designer.&lt;br /&gt;
        InitializeComponent()&lt;br /&gt;
        &amp;quot;Add any initialization after the InitializeComponent() call&lt;br /&gt;
    End Sub&lt;br /&gt;
    &amp;quot;Form overrides dispose to clean up the component list.&lt;br /&gt;
    Protected Overloads Overrides Sub Dispose(ByVal disposing As Boolean)&lt;br /&gt;
        If disposing Then&lt;br /&gt;
            If Not (components Is Nothing) Then&lt;br /&gt;
                components.Dispose()&lt;br /&gt;
            End If&lt;br /&gt;
        End If&lt;br /&gt;
        MyBase.Dispose(disposing)&lt;br /&gt;
    End Sub&lt;br /&gt;
    &amp;quot;Required by the Windows Form Designer&lt;br /&gt;
    Private components As System.ruponentModel.IContainer&lt;br /&gt;
    &amp;quot;NOTE: The following procedure is required by the Windows Form Designer&lt;br /&gt;
    &amp;quot;It can be modified using the Windows Form Designer.  &lt;br /&gt;
    &amp;quot;Do not modify it using the code editor.&lt;br /&gt;
    Friend WithEvents statusBar As System.Windows.Forms.StatusBar&lt;br /&gt;
    Friend WithEvents toolbar As System.Windows.Forms.ToolBar&lt;br /&gt;
    Friend WithEvents toolbarClear As System.Windows.Forms.ToolBarButton&lt;br /&gt;
    Friend WithEvents toolbarRed As System.Windows.Forms.ToolBarButton&lt;br /&gt;
    Friend WithEvents toolbarBlue As System.Windows.Forms.ToolBarButton&lt;br /&gt;
    Friend WithEvents toolbarUppercase As System.Windows.Forms.ToolBarButton&lt;br /&gt;
    Friend WithEvents toolbarLowercase As System.Windows.Forms.ToolBarButton&lt;br /&gt;
    Friend WithEvents toolbarHelpAbout As System.Windows.Forms.ToolBarButton&lt;br /&gt;
    Friend WithEvents imglstToolbar As System.Windows.Forms.ImageList&lt;br /&gt;
    Friend WithEvents txtEdit As System.Windows.Forms.TextBox&lt;br /&gt;
    &amp;lt;System.Diagnostics.DebuggerStepThrough()&amp;gt; Private Sub InitializeComponent()&lt;br /&gt;
        Me.ruponents = New System.ruponentModel.Container()&lt;br /&gt;
       &amp;quot; Dim resources As System.Resources.ResourceManager = New System.Resources.ResourceManager(GetType(TextEditor))&lt;br /&gt;
        Me.statusBar = New System.Windows.Forms.StatusBar()&lt;br /&gt;
        Me.toolbar = New System.Windows.Forms.ToolBar()&lt;br /&gt;
        Me.toolbarClear = New System.Windows.Forms.ToolBarButton()&lt;br /&gt;
        Me.toolbarRed = New System.Windows.Forms.ToolBarButton()&lt;br /&gt;
        Me.toolbarBlue = New System.Windows.Forms.ToolBarButton()&lt;br /&gt;
        Me.toolbarUppercase = New System.Windows.Forms.ToolBarButton()&lt;br /&gt;
        Me.toolbarLowercase = New System.Windows.Forms.ToolBarButton()&lt;br /&gt;
        Me.toolbarHelpAbout = New System.Windows.Forms.ToolBarButton()&lt;br /&gt;
        Me.imglstToolbar = New System.Windows.Forms.ImageList(Me.ruponents)&lt;br /&gt;
        Me.txtEdit = New System.Windows.Forms.TextBox()&lt;br /&gt;
        Me.SuspendLayout()&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        &amp;quot;statusBar&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        Me.statusBar.Location = New System.Drawing.Point(0, 397)&lt;br /&gt;
        Me.statusBar.Name = &amp;quot;statusBar&amp;quot;&lt;br /&gt;
        Me.statusBar.Size = New System.Drawing.Size(584, 16)&lt;br /&gt;
        Me.statusBar.TabIndex = 2&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        &amp;quot;toolbar&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        Me.toolbar.Buttons.AddRange(New System.Windows.Forms.ToolBarButton() {Me.toolbarClear, Me.toolbarRed, Me.toolbarBlue, Me.toolbarUppercase, Me.toolbarLowercase, Me.toolbarHelpAbout})&lt;br /&gt;
        Me.toolbar.DropDownArrows = True&lt;br /&gt;
        Me.toolbar.ImageList = Me.imglstToolbar&lt;br /&gt;
        Me.toolbar.Name = &amp;quot;toolbar&amp;quot;&lt;br /&gt;
        Me.toolbar.ShowToolTips = True&lt;br /&gt;
        Me.toolbar.Size = New System.Drawing.Size(584, 39)&lt;br /&gt;
        Me.toolbar.TabIndex = 1&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        &amp;quot;toolbarClear&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        Me.toolbarClear.ImageIndex = 4&lt;br /&gt;
        Me.toolbarClear.Text = &amp;quot;Clear&amp;quot;&lt;br /&gt;
        Me.toolbarClear.ToolTipText = &amp;quot;Clear the text box&amp;quot;&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        &amp;quot;toolbarRed&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        Me.toolbarRed.ImageIndex = 2&lt;br /&gt;
        Me.toolbarRed.Text = &amp;quot;Red&amp;quot;&lt;br /&gt;
        Me.toolbarRed.ToolTipText = &amp;quot;Make the text red&amp;quot;&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        &amp;quot;toolbarBlue&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        Me.toolbarBlue.ImageIndex = 3&lt;br /&gt;
        Me.toolbarBlue.Text = &amp;quot;Blue&amp;quot;&lt;br /&gt;
        Me.toolbarBlue.ToolTipText = &amp;quot;Make the text blue&amp;quot;&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        &amp;quot;toolbarUppercase&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        Me.toolbarUppercase.ImageIndex = 0&lt;br /&gt;
        Me.toolbarUppercase.Text = &amp;quot;Uppercase&amp;quot;&lt;br /&gt;
        Me.toolbarUppercase.ToolTipText = &amp;quot;Make the text uppercase&amp;quot;&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        &amp;quot;toolbarLowercase&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        Me.toolbarLowercase.ImageIndex = 1&lt;br /&gt;
        Me.toolbarLowercase.Text = &amp;quot;Lowercase&amp;quot;&lt;br /&gt;
        Me.toolbarLowercase.ToolTipText = &amp;quot;Make the toolbar lowercase&amp;quot;&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        &amp;quot;toolbarHelpAbout&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        Me.toolbarHelpAbout.ImageIndex = 5&lt;br /&gt;
        Me.toolbarHelpAbout.Text = &amp;quot;About&amp;quot;&lt;br /&gt;
        Me.toolbarHelpAbout.ToolTipText = &amp;quot;Display the About box&amp;quot;&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        &amp;quot;imglstToolbar&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        Me.imglstToolbar.ColorDepth = System.Windows.Forms.ColorDepth.Depth8Bit&lt;br /&gt;
        Me.imglstToolbar.ImageSize = New System.Drawing.Size(16, 16)&lt;br /&gt;
&amp;quot;        Me.imglstToolbar.ImageStream = CType(resources.GetObject(&amp;quot;imglstToolbar.ImageStream&amp;quot;), System.Windows.Forms.ImageListStreamer)&lt;br /&gt;
        Me.imglstToolbar.TransparentColor = System.Drawing.Color.Transparent&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        &amp;quot;txtEdit&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        Me.txtEdit.Anchor = (((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom) _&lt;br /&gt;
                    Or System.Windows.Forms.AnchorStyles.Left) _&lt;br /&gt;
                    Or System.Windows.Forms.AnchorStyles.Right)&lt;br /&gt;
        Me.txtEdit.Location = New System.Drawing.Point(8, 48)&lt;br /&gt;
        Me.txtEdit.Multiline = True&lt;br /&gt;
        Me.txtEdit.Name = &amp;quot;txtEdit&amp;quot;&lt;br /&gt;
        Me.txtEdit.ScrollBars = System.Windows.Forms.ScrollBars.Vertical&lt;br /&gt;
        Me.txtEdit.Size = New System.Drawing.Size(568, 340)&lt;br /&gt;
        Me.txtEdit.TabIndex = 1&lt;br /&gt;
        Me.txtEdit.Text = &amp;quot;&amp;quot;&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        &amp;quot;TextEditor&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        Me.AutoScaleBaseSize = New System.Drawing.Size(5, 13)&lt;br /&gt;
        Me.ClientSize = New System.Drawing.Size(584, 413)&lt;br /&gt;
        Me.Controls.AddRange(New System.Windows.Forms.Control() {Me.txtEdit, Me.toolbar, Me.statusBar})&lt;br /&gt;
        Me.Name = &amp;quot;TextEditor&amp;quot;&lt;br /&gt;
        Me.Text = &amp;quot;Form1&amp;quot;&lt;br /&gt;
        Me.ResumeLayout(False)&lt;br /&gt;
    End Sub&lt;br /&gt;
#End Region&lt;br /&gt;
    Public Property StatusText() As String&lt;br /&gt;
        Get&lt;br /&gt;
            Return statusBar.Text&lt;br /&gt;
        End Get&lt;br /&gt;
        Set(ByVal Value As String)&lt;br /&gt;
            statusBar.Text = Value&lt;br /&gt;
        End Set&lt;br /&gt;
    End Property&lt;br /&gt;
&lt;br /&gt;
    Public Property EditText() As String&lt;br /&gt;
        Get&lt;br /&gt;
            Return txtEdit.Text&lt;br /&gt;
        End Get&lt;br /&gt;
        Set(ByVal Value As String)&lt;br /&gt;
            txtEdit.Text = Value&lt;br /&gt;
        End Set&lt;br /&gt;
    End Property&lt;br /&gt;
&lt;br /&gt;
    Public Sub ClearEditBox()&lt;br /&gt;
        EditText = &amp;quot;&amp;quot;&lt;br /&gt;
        txtEdit.ForeColor = System.Drawing.Color.Black&lt;br /&gt;
        StatusText = &amp;quot;Text box cleared&amp;quot;&lt;br /&gt;
    End Sub&lt;br /&gt;
    Private Sub txtEdit_TextChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles txtEdit.TextChanged&lt;br /&gt;
        StatusText = &amp;quot;Ready&amp;quot;&lt;br /&gt;
    End Sub&lt;br /&gt;
&lt;br /&gt;
    Private Sub toolbar_ButtonClick(ByVal sender As Object, ByVal e As System.Windows.Forms.ToolBarButtonClickEventArgs) Handles toolbar.ButtonClick&lt;br /&gt;
        If e.Button Is toolbarClear Then&lt;br /&gt;
            ClearEditBox()&lt;br /&gt;
        End If&lt;br /&gt;
        If e.Button Is toolbarRed Then&lt;br /&gt;
            RedText()&lt;br /&gt;
        End If&lt;br /&gt;
        If e.Button Is toolbarBlue Then&lt;br /&gt;
            BlueText()&lt;br /&gt;
        End If&lt;br /&gt;
        If e.Button Is toolbarUppercase Then&lt;br /&gt;
            UppercaseText()&lt;br /&gt;
        End If&lt;br /&gt;
        If e.Button Is toolbarLowercase Then&lt;br /&gt;
            LowercaseText()&lt;br /&gt;
        End If&lt;br /&gt;
        If e.Button Is toolbarHelpAbout Then&lt;br /&gt;
            ShowAboutBox()&lt;br /&gt;
        End If&lt;br /&gt;
    End Sub&lt;br /&gt;
&lt;br /&gt;
    Public Sub UppercaseText()&lt;br /&gt;
        EditText = EditText.ToUpper&lt;br /&gt;
        StatusText = &amp;quot;The text is all uppercase&amp;quot;&lt;br /&gt;
    End Sub&lt;br /&gt;
    Public Sub LowercaseText()&lt;br /&gt;
        EditText = EditText.ToLower&lt;br /&gt;
        StatusText = &amp;quot;The text is all lowercase&amp;quot;&lt;br /&gt;
    End Sub&lt;br /&gt;
    Public Sub RedText()&lt;br /&gt;
        txtEdit.ForeColor = System.Drawing.Color.Red&lt;br /&gt;
        StatusText = &amp;quot;The text is red&amp;quot;&lt;br /&gt;
    End Sub&lt;br /&gt;
    Public Sub BlueText()&lt;br /&gt;
        txtEdit.ForeColor = System.Drawing.Color.Blue&lt;br /&gt;
        StatusText = &amp;quot;The text is blue&amp;quot;&lt;br /&gt;
    End Sub&lt;br /&gt;
&lt;br /&gt;
    Public Sub ShowAboutBox()&lt;br /&gt;
        MessageBox.Show(&amp;quot;About&amp;quot;)&lt;br /&gt;
    End Sub&lt;br /&gt;
&lt;br /&gt;
    Protected Overrides Sub Finalize()&lt;br /&gt;
        MyBase.Finalize()&lt;br /&gt;
    End Sub&lt;br /&gt;
End Class&lt;br /&gt;
           &lt;br /&gt;
       &amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Status Bar with a fake Button==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
&amp;lt;source lang=&amp;quot;vbnet&amp;quot;&amp;gt;&lt;br /&gt;
Imports System&lt;br /&gt;
Imports System.ruponentModel&lt;br /&gt;
Imports System.Windows.Forms&lt;br /&gt;
Imports System.Data&lt;br /&gt;
Imports System.Configuration&lt;br /&gt;
Imports System.Drawing&lt;br /&gt;
Imports System.Drawing.Drawing2D&lt;br /&gt;
Imports System.Drawing.Text&lt;br /&gt;
Public Class MainClass&lt;br /&gt;
    &lt;br /&gt;
    Shared Sub Main()&lt;br /&gt;
        &lt;br /&gt;
        Dim myform As Form = New OwnerDrawnStatusBar()&lt;br /&gt;
        Application.Run(myform)&lt;br /&gt;
    End Sub&lt;br /&gt;
End Class&lt;br /&gt;
&lt;br /&gt;
Public Class OwnerDrawnStatusBar&lt;br /&gt;
    Inherits System.Windows.Forms.Form&lt;br /&gt;
#Region &amp;quot; Windows Form Designer generated code &amp;quot;&lt;br /&gt;
    Public Sub New()&lt;br /&gt;
        MyBase.New()&lt;br /&gt;
        &amp;quot;This call is required by the Windows Form Designer.&lt;br /&gt;
        InitializeComponent()&lt;br /&gt;
        &amp;quot;Add any initialization after the InitializeComponent() call&lt;br /&gt;
    End Sub&lt;br /&gt;
    &amp;quot;Form overrides dispose to clean up the component list.&lt;br /&gt;
    Protected Overloads Overrides Sub Dispose(ByVal disposing As Boolean)&lt;br /&gt;
        If disposing Then&lt;br /&gt;
            If Not (components Is Nothing) Then&lt;br /&gt;
                components.Dispose()&lt;br /&gt;
            End If&lt;br /&gt;
        End If&lt;br /&gt;
        MyBase.Dispose(disposing)&lt;br /&gt;
    End Sub&lt;br /&gt;
    &amp;quot;Required by the Windows Form Designer&lt;br /&gt;
    Private components As System.ruponentModel.IContainer&lt;br /&gt;
    &amp;quot;NOTE: The following procedure is required by the Windows Form Designer&lt;br /&gt;
    &amp;quot;It can be modified using the Windows Form Designer.  &lt;br /&gt;
    &amp;quot;Do not modify it using the code editor.&lt;br /&gt;
    Friend WithEvents statusBar1 As System.Windows.Forms.StatusBar&lt;br /&gt;
    Friend WithEvents statusBarPanel1 As System.Windows.Forms.StatusBarPanel&lt;br /&gt;
    Friend WithEvents statusBarPanel2 As System.Windows.Forms.StatusBarPanel&lt;br /&gt;
    &amp;lt;System.Diagnostics.DebuggerStepThrough()&amp;gt; Private Sub InitializeComponent()&lt;br /&gt;
        Me.statusBar1 = New System.Windows.Forms.StatusBar()&lt;br /&gt;
        Me.statusBarPanel1 = New System.Windows.Forms.StatusBarPanel()&lt;br /&gt;
        Me.statusBarPanel2 = New System.Windows.Forms.StatusBarPanel()&lt;br /&gt;
        CType(Me.statusBarPanel1, System.ruponentModel.ISupportInitialize).BeginInit()&lt;br /&gt;
        CType(Me.statusBarPanel2, System.ruponentModel.ISupportInitialize).BeginInit()&lt;br /&gt;
        Me.SuspendLayout()&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        &amp;quot;statusBar1&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        Me.statusBar1.Location = New System.Drawing.Point(0, 234)&lt;br /&gt;
        Me.statusBar1.Name = &amp;quot;statusBar1&amp;quot;&lt;br /&gt;
        Me.statusBar1.Panels.AddRange(New System.Windows.Forms.StatusBarPanel() {Me.statusBarPanel1, Me.statusBarPanel2})&lt;br /&gt;
        Me.statusBar1.ShowPanels = True&lt;br /&gt;
        Me.statusBar1.Size = New System.Drawing.Size(292, 32)&lt;br /&gt;
        Me.statusBar1.TabIndex = 4&lt;br /&gt;
        Me.statusBar1.Text = &amp;quot;statusBar1&amp;quot;&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        &amp;quot;statusBarPanel1&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        Me.statusBarPanel1.Text = &amp;quot;Next Panel is OwnerDrawn --&amp;gt;&amp;quot;&lt;br /&gt;
        Me.statusBarPanel1.Width = 190&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        &amp;quot;statusBarPanel2&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        Me.statusBarPanel2.Style = System.Windows.Forms.StatusBarPanelStyle.OwnerDraw&lt;br /&gt;
        Me.statusBarPanel2.Text = &amp;quot;statusBarPanel2&amp;quot;&lt;br /&gt;
        Me.statusBarPanel2.Width = 113&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        &amp;quot;OwnerDrawnStatusBar&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        Me.AutoScaleBaseSize = New System.Drawing.Size(5, 13)&lt;br /&gt;
        Me.ClientSize = New System.Drawing.Size(292, 266)&lt;br /&gt;
        Me.Controls.AddRange(New System.Windows.Forms.Control() {Me.statusBar1})&lt;br /&gt;
        Me.Name = &amp;quot;OwnerDrawnStatusBar&amp;quot;&lt;br /&gt;
        Me.Text = &amp;quot;OwnerDrawnStatusBar&amp;quot;&lt;br /&gt;
        CType(Me.statusBarPanel1, System.ruponentModel.ISupportInitialize).EndInit()&lt;br /&gt;
        CType(Me.statusBarPanel2, System.ruponentModel.ISupportInitialize).EndInit()&lt;br /&gt;
        Me.ResumeLayout(False)&lt;br /&gt;
    End Sub&lt;br /&gt;
#End Region&lt;br /&gt;
    Private Sub statusBar1_DrawItem(ByVal sender As Object, ByVal e As System.Windows.Forms.StatusBarDrawItemEventArgs) Handles statusBar1.DrawItem&lt;br /&gt;
        Dim brush As Brush = New SolidBrush(e.ForeColor)&lt;br /&gt;
        Dim format As StringFormat = New StringFormat()&lt;br /&gt;
        format.Alignment = StringAlignment.Center&lt;br /&gt;
        format.LineAlignment = StringAlignment.Center&lt;br /&gt;
        e.Graphics.DrawRectangle(New Pen(e.BackColor), e.Bounds)&lt;br /&gt;
        ControlPaint.DrawButton(e.Graphics, e.Bounds.Left + 5, e.Bounds.Top + 5, e.Bounds.Width - 10, e.Bounds.Height - 10, ButtonState.Normal)&lt;br /&gt;
        e.Graphics.DrawString(&amp;quot;A fake button&amp;quot;, e.Font, brush, RectangleF.op_Implicit(e.Bounds), format)&lt;br /&gt;
        brush.Dispose()&lt;br /&gt;
&lt;br /&gt;
    End Sub&lt;br /&gt;
End Class&lt;br /&gt;
           &lt;br /&gt;
       &amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>Admin</name></author>	</entry>

	</feed>