<?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_Tutorial%2FGUI%2FForm_Properties</id>
		<title>VB.Net Tutorial/GUI/Form Properties - История изменений</title>
		<link rel="self" type="application/atom+xml" href="http://www.vbex.ru/index.php?action=history&amp;feed=atom&amp;title=VB.Net_Tutorial%2FGUI%2FForm_Properties"/>
		<link rel="alternate" type="text/html" href="http://www.vbex.ru/index.php?title=VB.Net_Tutorial/GUI/Form_Properties&amp;action=history"/>
		<updated>2026-04-05T08:56:20Z</updated>
		<subtitle>История изменений этой страницы в вики</subtitle>
		<generator>MediaWiki 1.30.0</generator>

	<entry>
		<id>http://www.vbex.ru/index.php?title=VB.Net_Tutorial/GUI/Form_Properties&amp;diff=3808&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_Tutorial/GUI/Form_Properties&amp;diff=3808&amp;oldid=prev"/>
				<updated>2010-05-26T16:40:30Z</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_Tutorial/GUI/Form_Properties&amp;diff=3809&amp;oldid=prev</id>
		<title>Admin: 1 версия</title>
		<link rel="alternate" type="text/html" href="http://www.vbex.ru/index.php?title=VB.Net_Tutorial/GUI/Form_Properties&amp;diff=3809&amp;oldid=prev"/>
				<updated>2010-05-26T12:56:52Z</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;==Blue 25 Percent Opaque==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
&amp;lt;source lang=&amp;quot;vbnet&amp;quot;&amp;gt;Imports System.Drawing&lt;br /&gt;
Imports System.Drawing.Drawing2D&lt;br /&gt;
Imports System.Windows.Forms&lt;br /&gt;
public class Blue25PercentOpaque&lt;br /&gt;
   public Shared Sub Main&lt;br /&gt;
        Application.Run(New DrawingForm)&lt;br /&gt;
   End Sub&lt;br /&gt;
End class&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Public Class DrawingForm&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 drawEllipseButton As System.Windows.Forms.Button&lt;br /&gt;
    &amp;lt;System.Diagnostics.DebuggerStepThrough()&amp;gt; Private Sub InitializeComponent()&lt;br /&gt;
        Me.drawEllipseButton = New System.Windows.Forms.Button()&lt;br /&gt;
        Me.SuspendLayout()&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        &amp;quot;drawEllipseButton&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        Me.drawEllipseButton.Location = New System.Drawing.Point(43, 32)&lt;br /&gt;
        Me.drawEllipseButton.Name = &amp;quot;drawEllipseButton&amp;quot;&lt;br /&gt;
        Me.drawEllipseButton.TabIndex = 1&lt;br /&gt;
        Me.drawEllipseButton.Text = &amp;quot;Draw Ellipse&amp;quot;&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, 13)&lt;br /&gt;
        Me.ClientSize = New System.Drawing.Size(160, 86)&lt;br /&gt;
        Me.Controls.AddRange(New System.Windows.Forms.Control() {Me.drawEllipseButton})&lt;br /&gt;
        Me.Name = &amp;quot;Form1&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;
    Private Sub DrawingForm_Paint(ByVal sender As Object, ByVal e As PaintEventArgs) Handles MyBase.Paint&lt;br /&gt;
        Dim blue25PercentOpaque As Color = Color.FromArgb(255 * 1 / 4, 0, 0, 255)&lt;br /&gt;
        Dim g As Graphics = e.Graphics&lt;br /&gt;
        Dim b As Brush = New SolidBrush(blue25PercentOpaque)&lt;br /&gt;
        g.FillEllipse(b, Me.ClientRectangle)&lt;br /&gt;
    End Sub&lt;br /&gt;
End Class&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Change Form Size==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
&amp;lt;source lang=&amp;quot;vbnet&amp;quot;&amp;gt;imports System&lt;br /&gt;
imports System.Drawing&lt;br /&gt;
imports System.Windows.Forms&lt;br /&gt;
public class ControlSizeLocation : inherits Form&lt;br /&gt;
  Private WithEvents btnShow as Button&lt;br /&gt;
  Private WithEvents btnChange as Button&lt;br /&gt;
  public sub New()&lt;br /&gt;
    BackColor = Color.LightBlue&lt;br /&gt;
    ForeColor = Color.DarkBlue&lt;br /&gt;
    Size = new Size(350,200)&lt;br /&gt;
    btnShow = new Button()&lt;br /&gt;
    btnShow.Location = new Point(50,50)&lt;br /&gt;
    btnShow.Size = new Size(100,23)&lt;br /&gt;
    btnShow.Text = &amp;quot;Show&amp;quot;&lt;br /&gt;
    btnShow.Parent = me&lt;br /&gt;
    btnChange = new Button()&lt;br /&gt;
    btnChange.Location = new Point(200,50)&lt;br /&gt;
    btnChange.Size = new Size(100,23)&lt;br /&gt;
    btnChange.Text = &amp;quot;Change&amp;quot;&lt;br /&gt;
    btnChange.Parent = me&lt;br /&gt;
  end sub&lt;br /&gt;
  public shared sub Main() &lt;br /&gt;
    Application.Run(new ControlSizeLocation())&lt;br /&gt;
  end sub&lt;br /&gt;
  private sub btnShow_Click(ByVal sender as object,ByVal e as EventArgs) Handles btnShow.Click&lt;br /&gt;
    Console.WriteLine(&amp;quot;Button Bottom:  &amp;quot; + btnShow.Bottom.ToString())&lt;br /&gt;
    Console.WriteLine(&amp;quot;Button Top:  &amp;quot; + btnShow.Top.ToString())&lt;br /&gt;
    Console.WriteLine(&amp;quot;Button Left:  &amp;quot; + btnShow.Left.ToString())&lt;br /&gt;
    Console.WriteLine(&amp;quot;Button Right:  &amp;quot; + btnShow.Right.ToString())&lt;br /&gt;
    Console.WriteLine(&amp;quot;Button Location: &amp;quot; + btnShow.Location.ToString())&lt;br /&gt;
    Console.WriteLine(&amp;quot;Button Width:  &amp;quot; + btnShow.Width.ToString())&lt;br /&gt;
    Console.WriteLine(&amp;quot;Button Height:  &amp;quot; + btnShow.Height.ToString())&lt;br /&gt;
    Console.WriteLine(&amp;quot;Button Size:  &amp;quot; + btnShow.Size.ToString())&lt;br /&gt;
    Console.WriteLine(&amp;quot;Button ClientSize:  &amp;quot; + btnShow.ClientSize.ToString())&lt;br /&gt;
    Console.WriteLine(&amp;quot;Form Size:  &amp;quot; + me.Size.ToString())&lt;br /&gt;
    Console.WriteLine(&amp;quot;Form ClientSize: &amp;quot; + me.ClientSize.ToString())&lt;br /&gt;
  end sub&lt;br /&gt;
  private sub btnChange_Click(ByVal sender as object,ByVal e as EventArgs)Handles btnChange.Click&lt;br /&gt;
    me.Size = new Size(800,200)&lt;br /&gt;
  end sub&lt;br /&gt;
end class&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Change Form Size, Text, Background Color and button font==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
&amp;lt;source lang=&amp;quot;vbnet&amp;quot;&amp;gt;Imports System.Windows.Forms&lt;br /&gt;
public class FormDemo&lt;br /&gt;
   public Shared Sub Main&lt;br /&gt;
        Application.Run(New Form1)&lt;br /&gt;
   End Sub&lt;br /&gt;
End class&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;
    Friend WithEvents Button1 As System.Windows.Forms.Button&lt;br /&gt;
    Friend WithEvents Button2 As System.Windows.Forms.Button&lt;br /&gt;
    Friend WithEvents btnChangeColor As System.Windows.Forms.Button&lt;br /&gt;
    Friend WithEvents btnRGB As System.Windows.Forms.Button&lt;br /&gt;
    Friend WithEvents btnCompare As System.Windows.Forms.Button&lt;br /&gt;
    Friend WithEvents btnFont As System.Windows.Forms.Button&lt;br /&gt;
    Friend WithEvents btnBigger As System.Windows.Forms.Button&lt;br /&gt;
    Friend WithEvents btnSmaller As System.Windows.Forms.Button&lt;br /&gt;
    Friend WithEvents btnFormText As System.Windows.Forms.Button&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; Private Sub InitializeComponent()&lt;br /&gt;
        Dim configurationAppSettings As System.Configuration.AppSettingsReader = New System.Configuration.AppSettingsReader()&lt;br /&gt;
        Me.Button1 = New System.Windows.Forms.Button()&lt;br /&gt;
        Me.Button2 = New System.Windows.Forms.Button()&lt;br /&gt;
        Me.btnChangeColor = New System.Windows.Forms.Button()&lt;br /&gt;
        Me.btnRGB = New System.Windows.Forms.Button()&lt;br /&gt;
        Me.btnCompare = New System.Windows.Forms.Button()&lt;br /&gt;
        Me.btnFont = New System.Windows.Forms.Button()&lt;br /&gt;
        Me.btnBigger = New System.Windows.Forms.Button()&lt;br /&gt;
        Me.btnSmaller = New System.Windows.Forms.Button()&lt;br /&gt;
        Me.btnFormText = New System.Windows.Forms.Button()&lt;br /&gt;
        Me.SuspendLayout()&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        &amp;quot;Button1&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        Me.Button1.Location = New System.Drawing.Point(56, 16)&lt;br /&gt;
        Me.Button1.Name = &amp;quot;Button1&amp;quot;&lt;br /&gt;
        Me.Button1.TabIndex = 1&lt;br /&gt;
        Me.Button1.TabStop = False&lt;br /&gt;
        Me.Button1.Text = &amp;quot;Button1&amp;quot;&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        &amp;quot;Button2&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        Me.Button2.Location = New System.Drawing.Point(216, 16)&lt;br /&gt;
        Me.Button2.Name = &amp;quot;Button2&amp;quot;&lt;br /&gt;
        Me.Button2.TabIndex = 0&lt;br /&gt;
        Me.Button2.TabStop = False&lt;br /&gt;
        Me.Button2.Text = &amp;quot;Button2&amp;quot;&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        &amp;quot;btnChangeColor&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        Me.btnChangeColor.Location = New System.Drawing.Point(56, 56)&lt;br /&gt;
        Me.btnChangeColor.Name = &amp;quot;btnChangeColor&amp;quot;&lt;br /&gt;
        Me.btnChangeColor.Size = New System.Drawing.Size(128, 23)&lt;br /&gt;
        Me.btnChangeColor.TabIndex = 2&lt;br /&gt;
        Me.btnChangeColor.Text = &amp;quot;Change Color&amp;quot;&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        &amp;quot;btnRGB&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        Me.btnRGB.Location = New System.Drawing.Point(56, 96)&lt;br /&gt;
        Me.btnRGB.Name = &amp;quot;btnRGB&amp;quot;&lt;br /&gt;
        Me.btnRGB.Size = New System.Drawing.Size(128, 23)&lt;br /&gt;
        Me.btnRGB.TabIndex = 3&lt;br /&gt;
        Me.btnRGB.Text = &amp;quot;Use RGB&amp;quot;&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        &amp;quot;btnCompare&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        Me.btnCompare.Location = New System.Drawing.Point(56, 136)&lt;br /&gt;
        Me.btnCompare.Name = &amp;quot;btnCompare&amp;quot;&lt;br /&gt;
        Me.btnCompare.Size = New System.Drawing.Size(128, 24)&lt;br /&gt;
        Me.btnCompare.TabIndex = 4&lt;br /&gt;
        Me.btnCompare.Text = &amp;quot;Compare&amp;quot;&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        &amp;quot;btnFont&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        Me.btnFont.Font = New System.Drawing.Font(&amp;quot;Edwardian Script ITC&amp;quot;, 20.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))&lt;br /&gt;
        Me.btnFont.Location = New System.Drawing.Point(56, 184)&lt;br /&gt;
        Me.btnFont.Name = &amp;quot;btnFont&amp;quot;&lt;br /&gt;
        Me.btnFont.Size = New System.Drawing.Size(208, 64)&lt;br /&gt;
        Me.btnFont.TabIndex = 5&lt;br /&gt;
        Me.btnFont.Text = &amp;quot;Change Font!&amp;quot;&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        &amp;quot;btnBigger&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        Me.btnBigger.Location = New System.Drawing.Point(64, 264)&lt;br /&gt;
        Me.btnBigger.Name = &amp;quot;btnBigger&amp;quot;&lt;br /&gt;
        Me.btnBigger.Size = New System.Drawing.Size(80, 24)&lt;br /&gt;
        Me.btnBigger.TabIndex = 6&lt;br /&gt;
        Me.btnBigger.Text = &amp;quot;Bigger&amp;quot;&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        &amp;quot;btnSmaller&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        Me.btnSmaller.Location = New System.Drawing.Point(64, 304)&lt;br /&gt;
        Me.btnSmaller.Name = &amp;quot;btnSmaller&amp;quot;&lt;br /&gt;
        Me.btnSmaller.Size = New System.Drawing.Size(80, 24)&lt;br /&gt;
        Me.btnSmaller.TabIndex = 7&lt;br /&gt;
        Me.btnSmaller.Text = &amp;quot;Smaller&amp;quot;&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        &amp;quot;btnFormText&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        Me.btnFormText.Location = New System.Drawing.Point(64, 344)&lt;br /&gt;
        Me.btnFormText.Name = &amp;quot;btnFormText&amp;quot;&lt;br /&gt;
        Me.btnFormText.Size = New System.Drawing.Size(128, 32)&lt;br /&gt;
        Me.btnFormText.TabIndex = 8&lt;br /&gt;
        Me.btnFormText.Text = &amp;quot;Change Form Text&amp;quot;&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        &amp;quot;Form1&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        Me.AcceptButton = Me.Button2&lt;br /&gt;
        Me.AutoScaleBaseSize = New System.Drawing.Size(5, 13)&lt;br /&gt;
        Me.AutoScroll = True&lt;br /&gt;
        Me.BackColor = System.Drawing.Color.FromArgb(CType(255, Byte), CType(128, Byte), CType(128, Byte))&lt;br /&gt;
        Me.ClientSize = New System.Drawing.Size(320, 382)&lt;br /&gt;
        Me.Controls.AddRange(New System.Windows.Forms.Control() {Me.btnFormText, Me.btnSmaller, Me.btnBigger, Me.btnFont, Me.btnCompare, Me.btnRGB, Me.btnChangeColor, Me.Button2, Me.Button1})&lt;br /&gt;
        Me.ForeColor = System.Drawing.Color.Black&lt;br /&gt;
        Me.Name = &amp;quot;Form1&amp;quot;&lt;br /&gt;
        Me.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen&lt;br /&gt;
        Me.Text = &amp;quot;old value&amp;quot;&lt;br /&gt;
        Me.TopMost = True&lt;br /&gt;
        Me.ResumeLayout(False)&lt;br /&gt;
    End Sub&lt;br /&gt;
#End Region&lt;br /&gt;
    Private Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click&lt;br /&gt;
        MsgBox(&amp;quot;I am Button1!&amp;quot;)&lt;br /&gt;
    End Sub&lt;br /&gt;
    Private Sub Button2_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button2.Click&lt;br /&gt;
        MsgBox(&amp;quot;I am Button2!&amp;quot;)&lt;br /&gt;
    End Sub&lt;br /&gt;
    Private Sub btnChangeColor_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnChangeColor.Click&lt;br /&gt;
        Me.BackColor = System.Drawing.Color.Yellow&lt;br /&gt;
    End Sub&lt;br /&gt;
    Private Sub btnRGB_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnRGB.Click&lt;br /&gt;
        Me.BackColor = System.Drawing.Color.Red&lt;br /&gt;
    End Sub&lt;br /&gt;
    Private Sub btnCompare_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnCompare.Click&lt;br /&gt;
        Dim formcolor As System.Drawing.Color&lt;br /&gt;
        formcolor = Me.BackColor&lt;br /&gt;
        If System.Drawing.Color.op_Equality(formcolor, System.Drawing.color.AliceBlue) Then&lt;br /&gt;
            MsgBox(&amp;quot;Color changed!&amp;quot;)&lt;br /&gt;
        Else&lt;br /&gt;
            MsgBox(&amp;quot;Not yet&amp;quot;)&lt;br /&gt;
        End If&lt;br /&gt;
    End Sub&lt;br /&gt;
    Private Sub btnFont_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnFont.Click&lt;br /&gt;
        Me.btnFont.Font = New System.Drawing.Font(&amp;quot;WingDings&amp;quot;, 20)&lt;br /&gt;
    End Sub&lt;br /&gt;
    Private Sub btnBigger_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnBigger.Click&lt;br /&gt;
        Me.Size = New System.Drawing.Size(500, 600)&lt;br /&gt;
    End Sub&lt;br /&gt;
    Private Sub btnSmaller_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnSmaller.Click&lt;br /&gt;
        Me.Size = New System.Drawing.Size(100, 150)&lt;br /&gt;
    End Sub&lt;br /&gt;
    Private Sub btnFormText_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnFormText.Click&lt;br /&gt;
        Me.Text = &amp;quot; new Text&amp;quot;&lt;br /&gt;
    End Sub&lt;br /&gt;
End Class&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Form Opacity==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
&amp;lt;source lang=&amp;quot;vbnet&amp;quot;&amp;gt;Imports System.Windows.Forms&lt;br /&gt;
public class FormOpacity&lt;br /&gt;
   public Shared Sub Main&lt;br /&gt;
        Application.Run(New Form1)&lt;br /&gt;
   End Sub&lt;br /&gt;
End class&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 timer1 As System.Windows.Forms.Timer&lt;br /&gt;
    Friend WithEvents label1 As System.Windows.Forms.Label&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;
        Me.timer1 = New System.Windows.Forms.Timer(Me.ruponents)&lt;br /&gt;
        Me.label1 = New System.Windows.Forms.Label()&lt;br /&gt;
        Me.SuspendLayout()&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        &amp;quot;timer1&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        &amp;quot;label1&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        Me.label1.Location = New System.Drawing.Point(96, 24)&lt;br /&gt;
        Me.label1.Name = &amp;quot;label1&amp;quot;&lt;br /&gt;
        Me.label1.TabIndex = 1&lt;br /&gt;
        Me.label1.Text = &amp;quot;Click On Me!&amp;quot;&lt;br /&gt;
        Me.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter&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, 13)&lt;br /&gt;
        Me.ClientSize = New System.Drawing.Size(292, 70)&lt;br /&gt;
        Me.Controls.AddRange(New System.Windows.Forms.Control() {Me.label1})&lt;br /&gt;
        Me.Name = &amp;quot;Form1&amp;quot;&lt;br /&gt;
        Me.Opacity = 0.7&lt;br /&gt;
        Me.Text = &amp;quot;Opacity = 0.5&amp;quot;&lt;br /&gt;
        Me.ResumeLayout(False)&lt;br /&gt;
    End Sub&lt;br /&gt;
#End Region&lt;br /&gt;
    Private Sub Form1_Activated(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.Activated&lt;br /&gt;
    End Sub&lt;br /&gt;
    Private Sub timer1_Tick(ByVal sender As Object, ByVal e As System.EventArgs) Handles timer1.Tick&lt;br /&gt;
        If Me.Opacity &amp;lt; 1.0 Then Me.Opacity = Me.Opacity + 0.1&lt;br /&gt;
        Me.Text = &amp;quot;Opacity = &amp;quot; &amp;amp; Me.Opacity.ToString()&lt;br /&gt;
    End Sub&lt;br /&gt;
&lt;br /&gt;
    Private Sub Form1_Deactivate(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.Deactivate&lt;br /&gt;
        timer1.Enabled = False&lt;br /&gt;
    End Sub&lt;br /&gt;
    Private Sub label1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles label1.Click&lt;br /&gt;
        If Me.Opacity &amp;lt; 1.0 Then Me.Opacity = Me.Opacity + 0.1&lt;br /&gt;
        Me.Text = &amp;quot;Opacity = &amp;quot; &amp;amp; Me.Opacity.ToString()&lt;br /&gt;
    End Sub&lt;br /&gt;
End Class&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Override the DefaultSize property to gain better performance==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
&amp;lt;source lang=&amp;quot;vbnet&amp;quot;&amp;gt;imports System&lt;br /&gt;
imports System.Drawing&lt;br /&gt;
imports System.Windows.Forms&lt;br /&gt;
public class FormSizeLocation : inherits Form&lt;br /&gt;
  private lbl as Label&lt;br /&gt;
  &amp;quot;  Override the DefaultSize property to gain better performance&lt;br /&gt;
  protected ReadOnly overrides Property DefaultSize as Size&lt;br /&gt;
    get&lt;br /&gt;
      return new Size(400,400)&lt;br /&gt;
    end get&lt;br /&gt;
  end property&lt;br /&gt;
  public sub New()&lt;br /&gt;
        Text = &amp;quot;Control Parent&amp;quot;&lt;br /&gt;
    BackColor = Color.LightBlue&lt;br /&gt;
    ForeColor = Color.DarkBlue&lt;br /&gt;
    Size = new Size(350,200)&lt;br /&gt;
  end sub&lt;br /&gt;
  public shared sub Main() &lt;br /&gt;
    Application.Run(new FormSizeLocation())&lt;br /&gt;
  end sub&lt;br /&gt;
end class&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Set Form Background color==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
&amp;lt;source lang=&amp;quot;vbnet&amp;quot;&amp;gt;Imports System.Drawing&lt;br /&gt;
Imports System.Drawing.Drawing2D&lt;br /&gt;
Imports System.Windows.Forms&lt;br /&gt;
public class ColorDialogSetForgroundBackgroundColor&lt;br /&gt;
   public Shared Sub Main&lt;br /&gt;
        Application.Run(New FrmColorDialogTest)&lt;br /&gt;
   End Sub&lt;br /&gt;
End class&lt;br /&gt;
Public Class FrmColorDialogTest&lt;br /&gt;
   Inherits System.Windows.Forms.Form&lt;br /&gt;
   Friend WithEvents cmdBackgroundButton As Button&lt;br /&gt;
   Friend WithEvents cmdTextButton As Button&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.Container&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; Private Sub InitializeComponent()&lt;br /&gt;
      Me.cmdBackgroundButton = New System.Windows.Forms.Button()&lt;br /&gt;
      Me.cmdTextButton = New System.Windows.Forms.Button()&lt;br /&gt;
      Me.SuspendLayout()&lt;br /&gt;
      &amp;quot;&lt;br /&gt;
      &amp;quot;cmdBackgroundButton&lt;br /&gt;
      &amp;quot;&lt;br /&gt;
      Me.cmdBackgroundButton.Location = New System.Drawing.Point(16, 16)&lt;br /&gt;
      Me.cmdBackgroundButton.Name = &amp;quot;cmdBackgroundButton&amp;quot;&lt;br /&gt;
      Me.cmdBackgroundButton.Size = New System.Drawing.Size(160, 24)&lt;br /&gt;
      Me.cmdBackgroundButton.TabIndex = 0&lt;br /&gt;
      Me.cmdBackgroundButton.Text = &amp;quot;Change Background Color&amp;quot;&lt;br /&gt;
      &amp;quot;&lt;br /&gt;
      &amp;quot;cmdTextButton&lt;br /&gt;
      &amp;quot;&lt;br /&gt;
      Me.cmdTextButton.Location = New System.Drawing.Point(16, 56)&lt;br /&gt;
      Me.cmdTextButton.Name = &amp;quot;cmdTextButton&amp;quot;&lt;br /&gt;
      Me.cmdTextButton.Size = New System.Drawing.Size(160, 24)&lt;br /&gt;
      Me.cmdTextButton.TabIndex = 1&lt;br /&gt;
      Me.cmdTextButton.Text = &amp;quot;Change Text Color&amp;quot;&lt;br /&gt;
      &amp;quot;&lt;br /&gt;
      &amp;quot;FrmColorDialogTest&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(192, 93)&lt;br /&gt;
      Me.Controls.AddRange(New System.Windows.Forms.Control() {Me.cmdTextButton, Me.cmdBackgroundButton})&lt;br /&gt;
      Me.Name = &amp;quot;FrmColorDialogTest&amp;quot;&lt;br /&gt;
      Me.Text = &amp;quot;Using Color Dialogs&amp;quot;&lt;br /&gt;
      Me.ResumeLayout(False)&lt;br /&gt;
   End Sub&lt;br /&gt;
#End Region&lt;br /&gt;
   Dim colorBox As ColorDialog = New ColorDialog()&lt;br /&gt;
   Private Sub cmdTextButton_Click(ByVal sender As System.Object, _&lt;br /&gt;
      ByVal e As System.EventArgs) Handles cmdTextButton.Click&lt;br /&gt;
      Dim result As DialogResult&lt;br /&gt;
      result = colorBox.ShowDialog()&lt;br /&gt;
      If result = DialogResult.Cancel Then&lt;br /&gt;
         Return&lt;br /&gt;
      End If&lt;br /&gt;
      cmdBackgroundButton.ForeColor = colorBox.Color&lt;br /&gt;
      cmdTextButton.ForeColor = colorBox.Color&lt;br /&gt;
   End Sub &lt;br /&gt;
   Private Sub cmdBackgroundButton_Click( _&lt;br /&gt;
      ByVal sender As System.Object, _&lt;br /&gt;
      ByVal e As System.EventArgs) _&lt;br /&gt;
      Handles cmdBackgroundButton.Click&lt;br /&gt;
      Dim result As DialogResult&lt;br /&gt;
      colorBox.FullOpen = True&lt;br /&gt;
      result = colorBox.ShowDialog()&lt;br /&gt;
      If result = DialogResult.Cancel Then&lt;br /&gt;
         Return&lt;br /&gt;
      End If&lt;br /&gt;
      Me.BackColor = colorBox.Color&lt;br /&gt;
   End Sub&lt;br /&gt;
End Class&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Set Form background image==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
&amp;lt;source lang=&amp;quot;vbnet&amp;quot;&amp;gt;Imports System.Drawing&lt;br /&gt;
Imports System.Drawing.Drawing2D&lt;br /&gt;
Imports System.Windows.Forms&lt;br /&gt;
public class FormBackgroundPicture&lt;br /&gt;
   public Shared Sub Main&lt;br /&gt;
        Application.Run(New Form1)&lt;br /&gt;
   End Sub&lt;br /&gt;
End class&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 Button1 As System.Windows.Forms.Button&lt;br /&gt;
    &amp;lt;System.Diagnostics.DebuggerStepThrough()&amp;gt; Private Sub InitializeComponent()&lt;br /&gt;
        Dim resources As System.Resources.ResourceManager = New System.Resources.ResourceManager(GetType(Form1))&lt;br /&gt;
        Me.Button1 = New System.Windows.Forms.Button&lt;br /&gt;
        Me.SuspendLayout()&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        &amp;quot;Button1&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        Me.Button1.Location = New System.Drawing.Point(152, 88)&lt;br /&gt;
        Me.Button1.Name = &amp;quot;Button1&amp;quot;&lt;br /&gt;
        Me.Button1.TabIndex = 0&lt;br /&gt;
        Me.Button1.Text = &amp;quot;Close&amp;quot;&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, 13)&lt;br /&gt;
        Me.BackgroundImage = System.Drawing.Image.FromFile(&amp;quot;yourfile.jpg&amp;quot;)&lt;br /&gt;
        Me.ClientSize = New System.Drawing.Size(376, 208)&lt;br /&gt;
        Me.Controls.Add(Me.Button1)&lt;br /&gt;
        Me.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None&lt;br /&gt;
        Me.Name = &amp;quot;Form1&amp;quot;&lt;br /&gt;
        Me.Text = &amp;quot;Form1&amp;quot;&lt;br /&gt;
        Me.TransparencyKey = System.Drawing.Color.White&lt;br /&gt;
        Me.ResumeLayout(False)&lt;br /&gt;
    End Sub&lt;br /&gt;
#End Region&lt;br /&gt;
    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click&lt;br /&gt;
        Me.Close()&lt;br /&gt;
    End Sub&lt;br /&gt;
End Class&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Set TransparencyKey==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
&amp;lt;source lang=&amp;quot;vbnet&amp;quot;&amp;gt;Imports System.Windows.Forms&lt;br /&gt;
public class SetTransparencyKey&lt;br /&gt;
   public Shared Sub Main&lt;br /&gt;
        Application.Run(New Form1)&lt;br /&gt;
   End Sub&lt;br /&gt;
End class&lt;br /&gt;
Public Class Form1&lt;br /&gt;
    Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load&lt;br /&gt;
        TransparencyKey = BackColor&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 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;
        Me.Button1 = New System.Windows.Forms.Button&lt;br /&gt;
        Me.Button2 = New System.Windows.Forms.Button&lt;br /&gt;
        Me.Button3 = New System.Windows.Forms.Button&lt;br /&gt;
        Me.Label1 = New System.Windows.Forms.Label&lt;br /&gt;
        Me.TextBox1 = New System.Windows.Forms.TextBox&lt;br /&gt;
        Me.TextBox2 = New System.Windows.Forms.TextBox&lt;br /&gt;
        Me.Label2 = New System.Windows.Forms.Label&lt;br /&gt;
        Me.TextBox3 = New System.Windows.Forms.TextBox&lt;br /&gt;
        Me.Label3 = New System.Windows.Forms.Label&lt;br /&gt;
        Me.TextBox4 = New System.Windows.Forms.TextBox&lt;br /&gt;
        Me.Label4 = New System.Windows.Forms.Label&lt;br /&gt;
        Me.ruboBox1 = New System.Windows.Forms.ruboBox&lt;br /&gt;
        Me.Label5 = New System.Windows.Forms.Label&lt;br /&gt;
        Me.TextBox5 = New System.Windows.Forms.TextBox&lt;br /&gt;
        Me.Label6 = New System.Windows.Forms.Label&lt;br /&gt;
        Me.SuspendLayout()&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        &amp;quot;Button1&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        Me.Button1.Location = New System.Drawing.Point(8, 8)&lt;br /&gt;
        Me.Button1.Name = &amp;quot;Button1&amp;quot;&lt;br /&gt;
        Me.Button1.Size = New System.Drawing.Size(75, 23)&lt;br /&gt;
        Me.Button1.TabIndex = 0&lt;br /&gt;
        Me.Button1.Text = &amp;quot;Button1&amp;quot;&lt;br /&gt;
        Me.Button1.UseVisualStyleBackColor = True&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        &amp;quot;Button2&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        Me.Button2.Location = New System.Drawing.Point(88, 8)&lt;br /&gt;
        Me.Button2.Name = &amp;quot;Button2&amp;quot;&lt;br /&gt;
        Me.Button2.Size = New System.Drawing.Size(75, 23)&lt;br /&gt;
        Me.Button2.TabIndex = 1&lt;br /&gt;
        Me.Button2.Text = &amp;quot;Button2&amp;quot;&lt;br /&gt;
        Me.Button2.UseVisualStyleBackColor = True&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        &amp;quot;Button3&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        Me.Button3.Location = New System.Drawing.Point(168, 8)&lt;br /&gt;
        Me.Button3.Name = &amp;quot;Button3&amp;quot;&lt;br /&gt;
        Me.Button3.Size = New System.Drawing.Size(75, 23)&lt;br /&gt;
        Me.Button3.TabIndex = 2&lt;br /&gt;
        Me.Button3.Text = &amp;quot;Button3&amp;quot;&lt;br /&gt;
        Me.Button3.UseVisualStyleBackColor = True&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        &amp;quot;Label1&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        Me.Label1.AutoSize = True&lt;br /&gt;
        Me.Label1.Location = New System.Drawing.Point(8, 56)&lt;br /&gt;
        Me.Label1.Name = &amp;quot;Label1&amp;quot;&lt;br /&gt;
        Me.Label1.Size = New System.Drawing.Size(57, 13)&lt;br /&gt;
        Me.Label1.TabIndex = 3&lt;br /&gt;
        Me.Label1.Text = &amp;quot;First Name&amp;quot;&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        &amp;quot;TextBox1&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        Me.TextBox1.Location = New System.Drawing.Point(80, 56)&lt;br /&gt;
        Me.TextBox1.Name = &amp;quot;TextBox1&amp;quot;&lt;br /&gt;
        Me.TextBox1.Size = New System.Drawing.Size(168, 20)&lt;br /&gt;
        Me.TextBox1.TabIndex = 4&lt;br /&gt;
        Me.TextBox1.Text = &amp;quot;A&amp;quot;&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        &amp;quot;TextBox2&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        Me.TextBox2.Location = New System.Drawing.Point(80, 80)&lt;br /&gt;
        Me.TextBox2.Name = &amp;quot;TextBox2&amp;quot;&lt;br /&gt;
        Me.TextBox2.Size = New System.Drawing.Size(168, 20)&lt;br /&gt;
        Me.TextBox2.TabIndex = 6&lt;br /&gt;
        Me.TextBox2.Text = &amp;quot;A&amp;quot;&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        &amp;quot;Label2&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        Me.Label2.AutoSize = True&lt;br /&gt;
        Me.Label2.Location = New System.Drawing.Point(8, 80)&lt;br /&gt;
        Me.Label2.Name = &amp;quot;Label2&amp;quot;&lt;br /&gt;
        Me.Label2.Size = New System.Drawing.Size(58, 13)&lt;br /&gt;
        Me.Label2.TabIndex = 5&lt;br /&gt;
        Me.Label2.Text = &amp;quot;Last Name&amp;quot;&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        &amp;quot;TextBox3&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        Me.TextBox3.Location = New System.Drawing.Point(80, 128)&lt;br /&gt;
        Me.TextBox3.Name = &amp;quot;TextBox3&amp;quot;&lt;br /&gt;
        Me.TextBox3.Size = New System.Drawing.Size(168, 20)&lt;br /&gt;
        Me.TextBox3.TabIndex = 10&lt;br /&gt;
        Me.TextBox3.Text = &amp;quot;E&amp;quot;&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        &amp;quot;Label3&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        Me.Label3.AutoSize = True&lt;br /&gt;
        Me.Label3.Location = New System.Drawing.Point(8, 128)&lt;br /&gt;
        Me.Label3.Name = &amp;quot;Label3&amp;quot;&lt;br /&gt;
        Me.Label3.Size = New System.Drawing.Size(24, 13)&lt;br /&gt;
        Me.Label3.TabIndex = 9&lt;br /&gt;
        Me.Label3.Text = &amp;quot;City&amp;quot;&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        &amp;quot;TextBox4&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        Me.TextBox4.Location = New System.Drawing.Point(80, 104)&lt;br /&gt;
        Me.TextBox4.Name = &amp;quot;TextBox4&amp;quot;&lt;br /&gt;
        Me.TextBox4.Size = New System.Drawing.Size(168, 20)&lt;br /&gt;
        Me.TextBox4.TabIndex = 8&lt;br /&gt;
        Me.TextBox4.Text = &amp;quot;3&amp;quot;&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        &amp;quot;Label4&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        Me.Label4.AutoSize = True&lt;br /&gt;
        Me.Label4.Location = New System.Drawing.Point(8, 104)&lt;br /&gt;
        Me.Label4.Name = &amp;quot;Label4&amp;quot;&lt;br /&gt;
        Me.Label4.Size = New System.Drawing.Size(35, 13)&lt;br /&gt;
        Me.Label4.TabIndex = 7&lt;br /&gt;
        Me.Label4.Text = &amp;quot;Street&amp;quot;&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        &amp;quot;ComboBox1&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        Me.ruboBox1.FormattingEnabled = True&lt;br /&gt;
        Me.ruboBox1.Location = New System.Drawing.Point(80, 152)&lt;br /&gt;
        Me.ruboBox1.Name = &amp;quot;ComboBox1&amp;quot;&lt;br /&gt;
        Me.ruboBox1.Size = New System.Drawing.Size(48, 21)&lt;br /&gt;
        Me.ruboBox1.TabIndex = 11&lt;br /&gt;
        Me.ruboBox1.Text = &amp;quot;HI&amp;quot;&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        &amp;quot;Label5&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        Me.Label5.AutoSize = True&lt;br /&gt;
        Me.Label5.Location = New System.Drawing.Point(8, 152)&lt;br /&gt;
        Me.Label5.Name = &amp;quot;Label5&amp;quot;&lt;br /&gt;
        Me.Label5.Size = New System.Drawing.Size(32, 13)&lt;br /&gt;
        Me.Label5.TabIndex = 12&lt;br /&gt;
        Me.Label5.Text = &amp;quot;State&amp;quot;&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        &amp;quot;TextBox5&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        Me.TextBox5.Location = New System.Drawing.Point(176, 152)&lt;br /&gt;
        Me.TextBox5.Name = &amp;quot;TextBox5&amp;quot;&lt;br /&gt;
        Me.TextBox5.Size = New System.Drawing.Size(72, 20)&lt;br /&gt;
        Me.TextBox5.TabIndex = 14&lt;br /&gt;
        Me.TextBox5.Text = &amp;quot;1&amp;quot;&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        &amp;quot;Label6&lt;br /&gt;
        &amp;quot;&lt;br /&gt;
        Me.Label6.AutoSize = True&lt;br /&gt;
        Me.Label6.Location = New System.Drawing.Point(144, 152)&lt;br /&gt;
        Me.Label6.Name = &amp;quot;Label6&amp;quot;&lt;br /&gt;
        Me.Label6.Size = New System.Drawing.Size(22, 13)&lt;br /&gt;
        Me.Label6.TabIndex = 13&lt;br /&gt;
        Me.Label6.Text = &amp;quot;Zip&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(257, 181)&lt;br /&gt;
        Me.Controls.Add(Me.TextBox5)&lt;br /&gt;
        Me.Controls.Add(Me.Label6)&lt;br /&gt;
        Me.Controls.Add(Me.Label5)&lt;br /&gt;
        Me.Controls.Add(Me.ruboBox1)&lt;br /&gt;
        Me.Controls.Add(Me.TextBox3)&lt;br /&gt;
        Me.Controls.Add(Me.Label3)&lt;br /&gt;
        Me.Controls.Add(Me.TextBox4)&lt;br /&gt;
        Me.Controls.Add(Me.Label4)&lt;br /&gt;
        Me.Controls.Add(Me.TextBox2)&lt;br /&gt;
        Me.Controls.Add(Me.Label2)&lt;br /&gt;
        Me.Controls.Add(Me.TextBox1)&lt;br /&gt;
        Me.Controls.Add(Me.Label1)&lt;br /&gt;
        Me.Controls.Add(Me.Button3)&lt;br /&gt;
        Me.Controls.Add(Me.Button2)&lt;br /&gt;
        Me.Controls.Add(Me.Button1)&lt;br /&gt;
        Me.Name = &amp;quot;Form1&amp;quot;&lt;br /&gt;
        Me.Text = &amp;quot;GhostForm&amp;quot;&lt;br /&gt;
        Me.ResumeLayout(False)&lt;br /&gt;
        Me.PerformLayout()&lt;br /&gt;
    End Sub&lt;br /&gt;
    Friend WithEvents Button1 As System.Windows.Forms.Button&lt;br /&gt;
    Friend WithEvents Button2 As System.Windows.Forms.Button&lt;br /&gt;
    Friend WithEvents Button3 As System.Windows.Forms.Button&lt;br /&gt;
    Friend WithEvents Label1 As System.Windows.Forms.Label&lt;br /&gt;
    Friend WithEvents TextBox1 As System.Windows.Forms.TextBox&lt;br /&gt;
    Friend WithEvents TextBox2 As System.Windows.Forms.TextBox&lt;br /&gt;
    Friend WithEvents Label2 As System.Windows.Forms.Label&lt;br /&gt;
    Friend WithEvents TextBox3 As System.Windows.Forms.TextBox&lt;br /&gt;
    Friend WithEvents Label3 As System.Windows.Forms.Label&lt;br /&gt;
    Friend WithEvents TextBox4 As System.Windows.Forms.TextBox&lt;br /&gt;
    Friend WithEvents Label4 As System.Windows.Forms.Label&lt;br /&gt;
    Friend WithEvents ComboBox1 As System.Windows.Forms.ruboBox&lt;br /&gt;
    Friend WithEvents Label5 As System.Windows.Forms.Label&lt;br /&gt;
    Friend WithEvents TextBox5 As System.Windows.Forms.TextBox&lt;br /&gt;
    Friend WithEvents Label6 As System.Windows.Forms.Label&lt;br /&gt;
End Class&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Transparent Form: Opacity = 0.66==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
&amp;lt;source lang=&amp;quot;vbnet&amp;quot;&amp;gt;Imports System.Windows.Forms&lt;br /&gt;
public class FormTransparent&lt;br /&gt;
   public Shared Sub Main&lt;br /&gt;
        Application.Run(New Form1)&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 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;
        Me.SuspendLayout()&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.Name = &amp;quot;Form1&amp;quot;&lt;br /&gt;
        Me.Opacity = 0.66&lt;br /&gt;
        Me.Text = &amp;quot;SemiTransparent&amp;quot;&lt;br /&gt;
        Me.ResumeLayout(False)&lt;br /&gt;
    End Sub&lt;br /&gt;
End Class&amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>Admin</name></author>	</entry>

	</feed>