Click here to Skip to main content
15,884,892 members
Articles / Multimedia / GDI+

gGlowBox - Create a Glow or Shadow Effect Around a Focused Control (VB.NET)

Rate me:
Please Sign up or sign in to vote.
4.89/5 (50 votes)
28 Feb 2019CPOL6 min read 113.6K   7.6K   68  
A custom Panel that creates a glow effect around a child control or a drop shadow when it receives focus

<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
Partial Class Form1
    Inherits System.Windows.Forms.Form

    'Form overrides dispose to clean up the component list.
    <System.Diagnostics.DebuggerNonUserCode()> _
    Protected Overrides Sub Dispose(ByVal disposing As Boolean)
        Try
            If disposing AndAlso components IsNot Nothing Then
                components.Dispose()
            End If
        Finally
            MyBase.Dispose(disposing)
        End Try
    End Sub

    'Required by the Windows Form Designer
    Private components As System.ComponentModel.IContainer

    'NOTE: The following procedure is required by the Windows Form Designer
    'It can be modified using the Windows Form Designer.  
    'Do not modify it using the code editor.
    <System.Diagnostics.DebuggerStepThrough()> _
    Private Sub InitializeComponent()
		Me.Label1 = New System.Windows.Forms.Label()
		Me.Label2 = New System.Windows.Forms.Label()
		Me.Label3 = New System.Windows.Forms.Label()
		Me.Label4 = New System.Windows.Forms.Label()
		Me.Label5 = New System.Windows.Forms.Label()
		Me.Label6 = New System.Windows.Forms.Label()
		Me.Label7 = New System.Windows.Forms.Label()
		Me.TabControl1 = New System.Windows.Forms.TabControl()
		Me.TabPage1 = New System.Windows.Forms.TabPage()
		Me.TabPage2 = New System.Windows.Forms.TabPage()
		Me.GGlowGroupBox1 = New gGlowBox.gGlowGroupBox()
		Me.GGlowGroupBox2 = New gGlowBox.gGlowGroupBox()
		Me.Button3 = New System.Windows.Forms.Button()
		Me.Button4 = New System.Windows.Forms.Button()
		Me.ComboBox2 = New System.Windows.Forms.ComboBox()
		Me.ListBox2 = New System.Windows.Forms.ListBox()
		Me.TextBox6 = New System.Windows.Forms.TextBox()
		Me.TextBox7 = New System.Windows.Forms.TextBox()
		Me.TextBox8 = New System.Windows.Forms.TextBox()
		Me.TextBox9 = New System.Windows.Forms.TextBox()
		Me.TextBox10 = New System.Windows.Forms.TextBox()
		Me.CheckBox2 = New System.Windows.Forms.CheckBox()
		Me.Label8 = New System.Windows.Forms.Label()
		Me.Label9 = New System.Windows.Forms.Label()
		Me.Label10 = New System.Windows.Forms.Label()
		Me.Label11 = New System.Windows.Forms.Label()
		Me.Label12 = New System.Windows.Forms.Label()
		Me.Label13 = New System.Windows.Forms.Label()
		Me.Label14 = New System.Windows.Forms.Label()
		Me.GGlowBox4 = New gGlowBox.gGlowBox()
		Me.gGlowBox11 = New gGlowBox.gGlowBox()
		Me.ListBox1 = New System.Windows.Forms.ListBox()
		Me.gGlowBox1 = New gGlowBox.gGlowBox()
		Me.Button1 = New System.Windows.Forms.Button()
		Me.gGlowBox10 = New gGlowBox.gGlowBox()
		Me.CheckBox1 = New System.Windows.Forms.CheckBox()
		Me.gGlowBox9 = New gGlowBox.gGlowBox()
		Me.Button2 = New System.Windows.Forms.Button()
		Me.gGlowBox8 = New gGlowBox.gGlowBox()
		Me.TextBox5 = New System.Windows.Forms.TextBox()
		Me.gGlowBox2 = New gGlowBox.gGlowBox()
		Me.TextBox1 = New System.Windows.Forms.TextBox()
		Me.gGlowBox7 = New gGlowBox.gGlowBox()
		Me.TextBox4 = New System.Windows.Forms.TextBox()
		Me.gGlowBox3 = New gGlowBox.gGlowBox()
		Me.ComboBox1 = New System.Windows.Forms.ComboBox()
		Me.gGlowBox6 = New gGlowBox.gGlowBox()
		Me.TextBox3 = New System.Windows.Forms.TextBox()
		Me.gGlowBox5 = New gGlowBox.gGlowBox()
		Me.TextBox2 = New System.Windows.Forms.TextBox()
		Me.Panel1 = New System.Windows.Forms.Panel()
		Me.RadioButton1 = New System.Windows.Forms.RadioButton()
		Me.RadioButton2 = New System.Windows.Forms.RadioButton()
		Me.TabControl1.SuspendLayout
		Me.TabPage1.SuspendLayout
		Me.TabPage2.SuspendLayout
		Me.GGlowGroupBox1.SuspendLayout
		Me.gGlowBox11.SuspendLayout
		Me.gGlowBox1.SuspendLayout
		Me.gGlowBox10.SuspendLayout
		Me.gGlowBox9.SuspendLayout
		Me.gGlowBox8.SuspendLayout
		Me.gGlowBox2.SuspendLayout
		Me.gGlowBox7.SuspendLayout
		Me.gGlowBox3.SuspendLayout
		Me.gGlowBox6.SuspendLayout
		Me.gGlowBox5.SuspendLayout
		Me.Panel1.SuspendLayout
		Me.SuspendLayout
		'
		'Label1
		'
		Me.Label1.AutoSize = true
		Me.Label1.Font = New System.Drawing.Font("Trebuchet MS", 14.25!, CType((System.Drawing.FontStyle.Bold Or System.Drawing.FontStyle.Italic),System.Drawing.FontStyle), System.Drawing.GraphicsUnit.Point, CType(0,Byte))
		Me.Label1.Location = New System.Drawing.Point(12, 11)
		Me.Label1.Name = "Label1"
		Me.Label1.Size = New System.Drawing.Size(156, 24)
		Me.Label1.TabIndex = 5
		Me.Label1.Text = "Shipping Service"
		'
		'Label2
		'
		Me.Label2.Font = New System.Drawing.Font("Arial", 12!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0,Byte))
		Me.Label2.Location = New System.Drawing.Point(12, 69)
		Me.Label2.Name = "Label2"
		Me.Label2.Size = New System.Drawing.Size(77, 21)
		Me.Label2.TabIndex = 5
		Me.Label2.Text = "Name"
		Me.Label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight
		'
		'Label3
		'
		Me.Label3.Font = New System.Drawing.Font("Arial", 12!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0,Byte))
		Me.Label3.Location = New System.Drawing.Point(12, 108)
		Me.Label3.Name = "Label3"
		Me.Label3.Size = New System.Drawing.Size(77, 21)
		Me.Label3.TabIndex = 6
		Me.Label3.Text = "Address"
		Me.Label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight
		'
		'Label4
		'
		Me.Label4.Font = New System.Drawing.Font("Arial", 12!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0,Byte))
		Me.Label4.Location = New System.Drawing.Point(12, 147)
		Me.Label4.Name = "Label4"
		Me.Label4.Size = New System.Drawing.Size(77, 21)
		Me.Label4.TabIndex = 6
		Me.Label4.Text = "City"
		Me.Label4.TextAlign = System.Drawing.ContentAlignment.MiddleRight
		'
		'Label5
		'
		Me.Label5.Font = New System.Drawing.Font("Arial", 12!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0,Byte))
		Me.Label5.Location = New System.Drawing.Point(31, 186)
		Me.Label5.Name = "Label5"
		Me.Label5.Size = New System.Drawing.Size(58, 21)
		Me.Label5.TabIndex = 6
		Me.Label5.Text = "State"
		Me.Label5.TextAlign = System.Drawing.ContentAlignment.MiddleRight
		'
		'Label6
		'
		Me.Label6.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right),System.Windows.Forms.AnchorStyles)
		Me.Label6.Font = New System.Drawing.Font("Arial", 12!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0,Byte))
		Me.Label6.Location = New System.Drawing.Point(268, 186)
		Me.Label6.Name = "Label6"
		Me.Label6.Size = New System.Drawing.Size(45, 21)
		Me.Label6.TabIndex = 6
		Me.Label6.Text = "Zip"
		Me.Label6.TextAlign = System.Drawing.ContentAlignment.MiddleRight
		'
		'Label7
		'
		Me.Label7.Font = New System.Drawing.Font("Arial", 12!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0,Byte))
		Me.Label7.Location = New System.Drawing.Point(16, 225)
		Me.Label7.Name = "Label7"
		Me.Label7.Size = New System.Drawing.Size(73, 21)
		Me.Label7.TabIndex = 6
		Me.Label7.Text = "Service"
		Me.Label7.TextAlign = System.Drawing.ContentAlignment.MiddleRight
		'
		'TabControl1
		'
		Me.TabControl1.Anchor = CType((((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom)  _
            Or System.Windows.Forms.AnchorStyles.Left)  _
            Or System.Windows.Forms.AnchorStyles.Right),System.Windows.Forms.AnchorStyles)
		Me.TabControl1.Controls.Add(Me.TabPage1)
		Me.TabControl1.Controls.Add(Me.TabPage2)
		Me.TabControl1.Location = New System.Drawing.Point(3, 12)
		Me.TabControl1.Name = "TabControl1"
		Me.TabControl1.SelectedIndex = 0
		Me.TabControl1.Size = New System.Drawing.Size(405, 390)
		Me.TabControl1.TabIndex = 10
		'
		'TabPage1
		'
		Me.TabPage1.Controls.Add(Me.GGlowGroupBox1)
		Me.TabPage1.Location = New System.Drawing.Point(4, 22)
		Me.TabPage1.Name = "TabPage1"
		Me.TabPage1.Padding = New System.Windows.Forms.Padding(3)
		Me.TabPage1.Size = New System.Drawing.Size(397, 364)
		Me.TabPage1.TabIndex = 0
		Me.TabPage1.Text = "gGlowGroupBox"
		Me.TabPage1.UseVisualStyleBackColor = true
		'
		'TabPage2
		'
		Me.TabPage2.BackColor = System.Drawing.Color.WhiteSmoke
		Me.TabPage2.Controls.Add(Me.GGlowBox4)
		Me.TabPage2.Controls.Add(Me.Label1)
		Me.TabPage2.Controls.Add(Me.Label2)
		Me.TabPage2.Controls.Add(Me.Label6)
		Me.TabPage2.Controls.Add(Me.Label3)
		Me.TabPage2.Controls.Add(Me.Label7)
		Me.TabPage2.Controls.Add(Me.Label4)
		Me.TabPage2.Controls.Add(Me.Label5)
		Me.TabPage2.Controls.Add(Me.gGlowBox11)
		Me.TabPage2.Controls.Add(Me.gGlowBox1)
		Me.TabPage2.Controls.Add(Me.gGlowBox10)
		Me.TabPage2.Controls.Add(Me.gGlowBox9)
		Me.TabPage2.Controls.Add(Me.gGlowBox8)
		Me.TabPage2.Controls.Add(Me.gGlowBox2)
		Me.TabPage2.Controls.Add(Me.gGlowBox7)
		Me.TabPage2.Controls.Add(Me.gGlowBox3)
		Me.TabPage2.Controls.Add(Me.gGlowBox6)
		Me.TabPage2.Controls.Add(Me.gGlowBox5)
		Me.TabPage2.Location = New System.Drawing.Point(4, 22)
		Me.TabPage2.Name = "TabPage2"
		Me.TabPage2.Padding = New System.Windows.Forms.Padding(3)
		Me.TabPage2.Size = New System.Drawing.Size(397, 364)
		Me.TabPage2.TabIndex = 1
		Me.TabPage2.Text = "gGlowBox"
		'
		'GGlowGroupBox1
		'
		Me.GGlowGroupBox1.Anchor = CType((((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Bottom)  _
            Or System.Windows.Forms.AnchorStyles.Left)  _
            Or System.Windows.Forms.AnchorStyles.Right),System.Windows.Forms.AnchorStyles)
		Me.GGlowGroupBox1.BackColor = System.Drawing.Color.WhiteSmoke
		Me.GGlowGroupBox1.Controls.Add(Me.Panel1)
		Me.GGlowGroupBox1.Controls.Add(Me.GGlowGroupBox2)
		Me.GGlowGroupBox1.Controls.Add(Me.Button3)
		Me.GGlowGroupBox1.Controls.Add(Me.Button4)
		Me.GGlowGroupBox1.Controls.Add(Me.ComboBox2)
		Me.GGlowGroupBox1.Controls.Add(Me.ListBox2)
		Me.GGlowGroupBox1.Controls.Add(Me.TextBox6)
		Me.GGlowGroupBox1.Controls.Add(Me.TextBox7)
		Me.GGlowGroupBox1.Controls.Add(Me.TextBox8)
		Me.GGlowGroupBox1.Controls.Add(Me.TextBox9)
		Me.GGlowGroupBox1.Controls.Add(Me.TextBox10)
		Me.GGlowGroupBox1.Controls.Add(Me.CheckBox2)
		Me.GGlowGroupBox1.Controls.Add(Me.Label8)
		Me.GGlowGroupBox1.Controls.Add(Me.Label9)
		Me.GGlowGroupBox1.Controls.Add(Me.Label10)
		Me.GGlowGroupBox1.Controls.Add(Me.Label11)
		Me.GGlowGroupBox1.Controls.Add(Me.Label12)
		Me.GGlowGroupBox1.Controls.Add(Me.Label13)
		Me.GGlowGroupBox1.Controls.Add(Me.Label14)
		Me.GGlowGroupBox1.EffectType = gGlowBox.gGlowGroupBox.eEffectType.Glow
		Me.GGlowGroupBox1.GlowOn = true
		Me.GGlowGroupBox1.Location = New System.Drawing.Point(0, 0)
		Me.GGlowGroupBox1.Name = "GGlowGroupBox1"
		Me.GGlowGroupBox1.Size = New System.Drawing.Size(397, 364)
		Me.GGlowGroupBox1.TabIndex = 0
		'
		'GGlowGroupBox2
		'
		Me.GGlowGroupBox2.EffectType = gGlowBox.gGlowGroupBox.eEffectType.Glow
		Me.GGlowGroupBox2.Location = New System.Drawing.Point(20, 258)
		Me.GGlowGroupBox2.Name = "GGlowGroupBox2"
		Me.GGlowGroupBox2.Size = New System.Drawing.Size(200, 100)
		Me.GGlowGroupBox2.TabIndex = 24
		'
		'Button3
		'
		Me.Button3.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right),System.Windows.Forms.AnchorStyles)
		Me.Button3.Location = New System.Drawing.Point(316, 331)
		Me.Button3.Name = "Button3"
		Me.Button3.Size = New System.Drawing.Size(62, 27)
		Me.Button3.TabIndex = 0
		Me.Button3.Text = "Cancel"
		Me.Button3.UseVisualStyleBackColor = true
		'
		'Button4
		'
		Me.Button4.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right),System.Windows.Forms.AnchorStyles)
		Me.Button4.Location = New System.Drawing.Point(236, 331)
		Me.Button4.Name = "Button4"
		Me.Button4.Size = New System.Drawing.Size(62, 27)
		Me.Button4.TabIndex = 0
		Me.Button4.Text = "Save"
		Me.Button4.UseVisualStyleBackColor = true
		'
		'ComboBox2
		'
		Me.ComboBox2.Font = New System.Drawing.Font("Arial", 12!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0,Byte))
		Me.ComboBox2.FormattingEnabled = true
		Me.ComboBox2.Items.AddRange(New Object() {"US Postal", "FedEx", "UPS", "DHL", "Burros-R-Us"})
		Me.ComboBox2.Location = New System.Drawing.Point(99, 223)
		Me.ComboBox2.Name = "ComboBox2"
		Me.ComboBox2.Size = New System.Drawing.Size(158, 27)
		Me.ComboBox2.TabIndex = 0
		'
		'ListBox2
		'
		Me.ListBox2.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right),System.Windows.Forms.AnchorStyles)
		Me.ListBox2.Font = New System.Drawing.Font("Arial", 10!, System.Drawing.FontStyle.Bold)
		Me.ListBox2.FormattingEnabled = true
		Me.ListBox2.ItemHeight = 16
		Me.ListBox2.Items.AddRange(New Object() {"Ground", "Air", "Transporter", "Headlong Flight"})
		Me.ListBox2.Location = New System.Drawing.Point(267, 223)
		Me.ListBox2.Name = "ListBox2"
		Me.ListBox2.Size = New System.Drawing.Size(111, 84)
		Me.ListBox2.TabIndex = 0
		'
		'TextBox6
		'
		Me.TextBox6.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right),System.Windows.Forms.AnchorStyles)
		Me.TextBox6.Font = New System.Drawing.Font("Arial", 12!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0,Byte))
		Me.TextBox6.Location = New System.Drawing.Point(323, 184)
		Me.TextBox6.Name = "TextBox6"
		Me.TextBox6.Size = New System.Drawing.Size(55, 26)
		Me.TextBox6.TabIndex = 0
		Me.TextBox6.Text = "39993"
		'
		'TextBox7
		'
		Me.TextBox7.Font = New System.Drawing.Font("Arial", 12!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0,Byte))
		Me.TextBox7.Location = New System.Drawing.Point(99, 184)
		Me.TextBox7.Name = "TextBox7"
		Me.TextBox7.Size = New System.Drawing.Size(90, 26)
		Me.TextBox7.TabIndex = 0
		Me.TextBox7.Text = "FL"
		'
		'TextBox8
		'
		Me.TextBox8.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Left)  _
            Or System.Windows.Forms.AnchorStyles.Right),System.Windows.Forms.AnchorStyles)
		Me.TextBox8.Font = New System.Drawing.Font("Arial", 12!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0,Byte))
		Me.TextBox8.Location = New System.Drawing.Point(99, 145)
		Me.TextBox8.Name = "TextBox8"
		Me.TextBox8.Size = New System.Drawing.Size(279, 26)
		Me.TextBox8.TabIndex = 0
		Me.TextBox8.Text = "Miami"
		'
		'TextBox9
		'
		Me.TextBox9.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Left)  _
            Or System.Windows.Forms.AnchorStyles.Right),System.Windows.Forms.AnchorStyles)
		Me.TextBox9.Font = New System.Drawing.Font("Arial", 12!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0,Byte))
		Me.TextBox9.Location = New System.Drawing.Point(99, 106)
		Me.TextBox9.Name = "TextBox9"
		Me.TextBox9.Size = New System.Drawing.Size(279, 26)
		Me.TextBox9.TabIndex = 0
		Me.TextBox9.Text = "2112 Caravan Lane"
		'
		'TextBox10
		'
		Me.TextBox10.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Left)  _
            Or System.Windows.Forms.AnchorStyles.Right),System.Windows.Forms.AnchorStyles)
		Me.TextBox10.Font = New System.Drawing.Font("Arial", 12!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0,Byte))
		Me.TextBox10.Location = New System.Drawing.Point(99, 67)
		Me.TextBox10.Name = "TextBox10"
		Me.TextBox10.Size = New System.Drawing.Size(279, 26)
		Me.TextBox10.TabIndex = 0
		Me.TextBox10.Text = "Blackbird Studio"
		'
		'CheckBox2
		'
		Me.CheckBox2.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right),System.Windows.Forms.AnchorStyles)
		Me.CheckBox2.BackColor = System.Drawing.Color.WhiteSmoke
		Me.CheckBox2.Location = New System.Drawing.Point(40, 38)
		Me.CheckBox2.Name = "CheckBox2"
		Me.CheckBox2.Size = New System.Drawing.Size(84, 20)
		Me.CheckBox2.TabIndex = 0
		Me.CheckBox2.Text = "Ship Today"
		Me.CheckBox2.UseVisualStyleBackColor = false
		'
		'Label8
		'
		Me.Label8.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right),System.Windows.Forms.AnchorStyles)
		Me.Label8.Font = New System.Drawing.Font("Arial", 12!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0,Byte))
		Me.Label8.Location = New System.Drawing.Point(268, 186)
		Me.Label8.Name = "Label8"
		Me.Label8.Size = New System.Drawing.Size(45, 21)
		Me.Label8.TabIndex = 20
		Me.Label8.Text = "Zip"
		Me.Label8.TextAlign = System.Drawing.ContentAlignment.MiddleRight
		'
		'Label9
		'
		Me.Label9.Font = New System.Drawing.Font("Arial", 12!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0,Byte))
		Me.Label9.Location = New System.Drawing.Point(16, 225)
		Me.Label9.Name = "Label9"
		Me.Label9.Size = New System.Drawing.Size(73, 21)
		Me.Label9.TabIndex = 23
		Me.Label9.Text = "Service"
		Me.Label9.TextAlign = System.Drawing.ContentAlignment.MiddleRight
		'
		'Label10
		'
		Me.Label10.Font = New System.Drawing.Font("Arial", 12!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0,Byte))
		Me.Label10.Location = New System.Drawing.Point(31, 186)
		Me.Label10.Name = "Label10"
		Me.Label10.Size = New System.Drawing.Size(58, 21)
		Me.Label10.TabIndex = 22
		Me.Label10.Text = "State"
		Me.Label10.TextAlign = System.Drawing.ContentAlignment.MiddleRight
		'
		'Label11
		'
		Me.Label11.Font = New System.Drawing.Font("Arial", 12!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0,Byte))
		Me.Label11.Location = New System.Drawing.Point(12, 147)
		Me.Label11.Name = "Label11"
		Me.Label11.Size = New System.Drawing.Size(77, 21)
		Me.Label11.TabIndex = 19
		Me.Label11.Text = "City"
		Me.Label11.TextAlign = System.Drawing.ContentAlignment.MiddleRight
		'
		'Label12
		'
		Me.Label12.Font = New System.Drawing.Font("Arial", 12!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0,Byte))
		Me.Label12.Location = New System.Drawing.Point(12, 108)
		Me.Label12.Name = "Label12"
		Me.Label12.Size = New System.Drawing.Size(77, 21)
		Me.Label12.TabIndex = 18
		Me.Label12.Text = "Address"
		Me.Label12.TextAlign = System.Drawing.ContentAlignment.MiddleRight
		'
		'Label13
		'
		Me.Label13.Font = New System.Drawing.Font("Arial", 12!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0,Byte))
		Me.Label13.Location = New System.Drawing.Point(12, 69)
		Me.Label13.Name = "Label13"
		Me.Label13.Size = New System.Drawing.Size(77, 21)
		Me.Label13.TabIndex = 15
		Me.Label13.Text = "Name"
		Me.Label13.TextAlign = System.Drawing.ContentAlignment.MiddleRight
		'
		'Label14
		'
		Me.Label14.AutoSize = true
		Me.Label14.Font = New System.Drawing.Font("Trebuchet MS", 14.25!, CType((System.Drawing.FontStyle.Bold Or System.Drawing.FontStyle.Italic),System.Drawing.FontStyle), System.Drawing.GraphicsUnit.Point, CType(0,Byte))
		Me.Label14.Location = New System.Drawing.Point(12, 11)
		Me.Label14.Name = "Label14"
		Me.Label14.Size = New System.Drawing.Size(156, 24)
		Me.Label14.TabIndex = 16
		Me.Label14.Text = "Shipping Service"
		'
		'GGlowBox4
		'
		Me.GGlowBox4.Location = New System.Drawing.Point(20, 259)
		Me.GGlowBox4.Name = "GGlowBox4"
		Me.GGlowBox4.Size = New System.Drawing.Size(200, 100)
		Me.GGlowBox4.TabIndex = 10
		'
		'gGlowBox11
		'
		Me.gGlowBox11.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right),System.Windows.Forms.AnchorStyles)
		Me.gGlowBox11.Controls.Add(Me.ListBox1)
		Me.gGlowBox11.Location = New System.Drawing.Point(263, 219)
		Me.gGlowBox11.Name = "gGlowBox11"
		Me.gGlowBox11.Size = New System.Drawing.Size(118, 91)
		Me.gGlowBox11.TabIndex = 6
		'
		'ListBox1
		'
		Me.ListBox1.Font = New System.Drawing.Font("Arial", 10!, System.Drawing.FontStyle.Bold)
		Me.ListBox1.FormattingEnabled = true
		Me.ListBox1.ItemHeight = 16
		Me.ListBox1.Items.AddRange(New Object() {"Ground", "Air", "Transporter", "Headlong Flight"})
		Me.ListBox1.Location = New System.Drawing.Point(4, 4)
		Me.ListBox1.Name = "ListBox1"
		Me.ListBox1.Size = New System.Drawing.Size(111, 84)
		Me.ListBox1.TabIndex = 0
		'
		'gGlowBox1
		'
		Me.gGlowBox1.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right),System.Windows.Forms.AnchorStyles)
		Me.gGlowBox1.Controls.Add(Me.Button1)
		Me.gGlowBox1.Location = New System.Drawing.Point(232, 327)
		Me.gGlowBox1.Name = "gGlowBox1"
		Me.gGlowBox1.Size = New System.Drawing.Size(69, 34)
		Me.gGlowBox1.TabIndex = 7
		'
		'Button1
		'
		Me.Button1.Location = New System.Drawing.Point(4, 4)
		Me.Button1.Name = "Button1"
		Me.Button1.Size = New System.Drawing.Size(62, 27)
		Me.Button1.TabIndex = 0
		Me.Button1.Text = "Save"
		Me.Button1.UseVisualStyleBackColor = true
		'
		'gGlowBox10
		'
		Me.gGlowBox10.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right),System.Windows.Forms.AnchorStyles)
		Me.gGlowBox10.Controls.Add(Me.CheckBox1)
		Me.gGlowBox10.Location = New System.Drawing.Point(290, 11)
		Me.gGlowBox10.Name = "gGlowBox10"
		Me.gGlowBox10.Size = New System.Drawing.Size(91, 27)
		Me.gGlowBox10.TabIndex = 9
		'
		'CheckBox1
		'
		Me.CheckBox1.BackColor = System.Drawing.Color.WhiteSmoke
		Me.CheckBox1.Location = New System.Drawing.Point(4, 4)
		Me.CheckBox1.Name = "CheckBox1"
		Me.CheckBox1.Size = New System.Drawing.Size(84, 20)
		Me.CheckBox1.TabIndex = 0
		Me.CheckBox1.Text = "Ship Today"
		Me.CheckBox1.UseVisualStyleBackColor = false
		'
		'gGlowBox9
		'
		Me.gGlowBox9.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right),System.Windows.Forms.AnchorStyles)
		Me.gGlowBox9.Controls.Add(Me.Button2)
		Me.gGlowBox9.Location = New System.Drawing.Point(312, 327)
		Me.gGlowBox9.Name = "gGlowBox9"
		Me.gGlowBox9.Size = New System.Drawing.Size(69, 34)
		Me.gGlowBox9.TabIndex = 8
		'
		'Button2
		'
		Me.Button2.Location = New System.Drawing.Point(4, 4)
		Me.Button2.Name = "Button2"
		Me.Button2.Size = New System.Drawing.Size(62, 27)
		Me.Button2.TabIndex = 0
		Me.Button2.Text = "Cancel"
		Me.Button2.UseVisualStyleBackColor = true
		'
		'gGlowBox8
		'
		Me.gGlowBox8.Anchor = CType((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Right),System.Windows.Forms.AnchorStyles)
		Me.gGlowBox8.Controls.Add(Me.TextBox5)
		Me.gGlowBox8.Location = New System.Drawing.Point(319, 180)
		Me.gGlowBox8.Name = "gGlowBox8"
		Me.gGlowBox8.Size = New System.Drawing.Size(62, 33)
		Me.gGlowBox8.TabIndex = 4
		'
		'TextBox5
		'
		Me.TextBox5.Font = New System.Drawing.Font("Arial", 12!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0,Byte))
		Me.TextBox5.Location = New System.Drawing.Point(4, 4)
		Me.TextBox5.Name = "TextBox5"
		Me.TextBox5.Size = New System.Drawing.Size(55, 26)
		Me.TextBox5.TabIndex = 0
		Me.TextBox5.Text = "39993"
		'
		'gGlowBox2
		'
		Me.gGlowBox2.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Left)  _
            Or System.Windows.Forms.AnchorStyles.Right),System.Windows.Forms.AnchorStyles)
		Me.gGlowBox2.Controls.Add(Me.TextBox1)
		Me.gGlowBox2.Location = New System.Drawing.Point(95, 63)
		Me.gGlowBox2.Name = "gGlowBox2"
		Me.gGlowBox2.Size = New System.Drawing.Size(286, 33)
		Me.gGlowBox2.TabIndex = 0
		'
		'TextBox1
		'
		Me.TextBox1.Font = New System.Drawing.Font("Arial", 12!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0,Byte))
		Me.TextBox1.Location = New System.Drawing.Point(4, 4)
		Me.TextBox1.Name = "TextBox1"
		Me.TextBox1.Size = New System.Drawing.Size(279, 26)
		Me.TextBox1.TabIndex = 0
		Me.TextBox1.Text = "Blackbird Studio"
		'
		'gGlowBox7
		'
		Me.gGlowBox7.Controls.Add(Me.TextBox4)
		Me.gGlowBox7.Location = New System.Drawing.Point(95, 180)
		Me.gGlowBox7.Name = "gGlowBox7"
		Me.gGlowBox7.Size = New System.Drawing.Size(97, 33)
		Me.gGlowBox7.TabIndex = 3
		'
		'TextBox4
		'
		Me.TextBox4.Font = New System.Drawing.Font("Arial", 12!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0,Byte))
		Me.TextBox4.Location = New System.Drawing.Point(4, 4)
		Me.TextBox4.Name = "TextBox4"
		Me.TextBox4.Size = New System.Drawing.Size(90, 26)
		Me.TextBox4.TabIndex = 0
		Me.TextBox4.Text = "FL"
		'
		'gGlowBox3
		'
		Me.gGlowBox3.Controls.Add(Me.ComboBox1)
		Me.gGlowBox3.Location = New System.Drawing.Point(95, 219)
		Me.gGlowBox3.Name = "gGlowBox3"
		Me.gGlowBox3.Size = New System.Drawing.Size(165, 34)
		Me.gGlowBox3.TabIndex = 5
		'
		'ComboBox1
		'
		Me.ComboBox1.Font = New System.Drawing.Font("Arial", 12!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0,Byte))
		Me.ComboBox1.FormattingEnabled = true
		Me.ComboBox1.Items.AddRange(New Object() {"US Postal", "FedEx", "UPS", "DHL", "Burros-R-Us"})
		Me.ComboBox1.Location = New System.Drawing.Point(4, 4)
		Me.ComboBox1.Name = "ComboBox1"
		Me.ComboBox1.Size = New System.Drawing.Size(158, 27)
		Me.ComboBox1.TabIndex = 0
		'
		'gGlowBox6
		'
		Me.gGlowBox6.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Left)  _
            Or System.Windows.Forms.AnchorStyles.Right),System.Windows.Forms.AnchorStyles)
		Me.gGlowBox6.Controls.Add(Me.TextBox3)
		Me.gGlowBox6.Location = New System.Drawing.Point(95, 141)
		Me.gGlowBox6.Name = "gGlowBox6"
		Me.gGlowBox6.Size = New System.Drawing.Size(286, 33)
		Me.gGlowBox6.TabIndex = 2
		'
		'TextBox3
		'
		Me.TextBox3.Font = New System.Drawing.Font("Arial", 12!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0,Byte))
		Me.TextBox3.Location = New System.Drawing.Point(4, 4)
		Me.TextBox3.Name = "TextBox3"
		Me.TextBox3.Size = New System.Drawing.Size(279, 26)
		Me.TextBox3.TabIndex = 0
		Me.TextBox3.Text = "Miami"
		'
		'gGlowBox5
		'
		Me.gGlowBox5.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Left)  _
            Or System.Windows.Forms.AnchorStyles.Right),System.Windows.Forms.AnchorStyles)
		Me.gGlowBox5.Controls.Add(Me.TextBox2)
		Me.gGlowBox5.Location = New System.Drawing.Point(95, 102)
		Me.gGlowBox5.Name = "gGlowBox5"
		Me.gGlowBox5.Size = New System.Drawing.Size(286, 33)
		Me.gGlowBox5.TabIndex = 1
		'
		'TextBox2
		'
		Me.TextBox2.Font = New System.Drawing.Font("Arial", 12!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0,Byte))
		Me.TextBox2.Location = New System.Drawing.Point(4, 4)
		Me.TextBox2.Name = "TextBox2"
		Me.TextBox2.Size = New System.Drawing.Size(279, 26)
		Me.TextBox2.TabIndex = 0
		Me.TextBox2.Text = "2112 Caravan Lane"
		'
		'Panel1
		'
		Me.Panel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle
		Me.Panel1.Controls.Add(Me.RadioButton2)
		Me.Panel1.Controls.Add(Me.RadioButton1)
		Me.Panel1.Location = New System.Drawing.Point(230, 11)
		Me.Panel1.Name = "Panel1"
		Me.Panel1.Size = New System.Drawing.Size(155, 28)
		Me.Panel1.TabIndex = 25
		'
		'RadioButton1
		'
		Me.RadioButton1.AutoSize = true
		Me.RadioButton1.Checked = true
		Me.RadioButton1.Location = New System.Drawing.Point(13, 5)
		Me.RadioButton1.Name = "RadioButton1"
		Me.RadioButton1.Size = New System.Drawing.Size(49, 17)
		Me.RadioButton1.TabIndex = 0
		Me.RadioButton1.TabStop = true
		Me.RadioButton1.Text = "Glow"
		Me.RadioButton1.UseVisualStyleBackColor = true
		'
		'RadioButton2
		'
		Me.RadioButton2.AutoSize = true
		Me.RadioButton2.Location = New System.Drawing.Point(77, 5)
		Me.RadioButton2.Name = "RadioButton2"
		Me.RadioButton2.Size = New System.Drawing.Size(64, 17)
		Me.RadioButton2.TabIndex = 1
		Me.RadioButton2.Text = "Shadow"
		Me.RadioButton2.UseVisualStyleBackColor = true
		'
		'Form1
		'
		Me.AutoScaleDimensions = New System.Drawing.SizeF(6!, 13!)
		Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
		Me.BackColor = System.Drawing.Color.White
		Me.ClientSize = New System.Drawing.Size(410, 404)
		Me.Controls.Add(Me.TabControl1)
		Me.Name = "Form1"
		Me.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen
		Me.Text = "gGlowBox"
		Me.TabControl1.ResumeLayout(false)
		Me.TabPage1.ResumeLayout(false)
		Me.TabPage2.ResumeLayout(false)
		Me.TabPage2.PerformLayout
		Me.GGlowGroupBox1.ResumeLayout(false)
		Me.GGlowGroupBox1.PerformLayout
		Me.gGlowBox11.ResumeLayout(false)
		Me.gGlowBox1.ResumeLayout(false)
		Me.gGlowBox10.ResumeLayout(false)
		Me.gGlowBox9.ResumeLayout(false)
		Me.gGlowBox8.ResumeLayout(false)
		Me.gGlowBox8.PerformLayout
		Me.gGlowBox2.ResumeLayout(false)
		Me.gGlowBox2.PerformLayout
		Me.gGlowBox7.ResumeLayout(false)
		Me.gGlowBox7.PerformLayout
		Me.gGlowBox3.ResumeLayout(false)
		Me.gGlowBox6.ResumeLayout(false)
		Me.gGlowBox6.PerformLayout
		Me.gGlowBox5.ResumeLayout(false)
		Me.gGlowBox5.PerformLayout
		Me.Panel1.ResumeLayout(false)
		Me.Panel1.PerformLayout
		Me.ResumeLayout(false)

End Sub
    Friend WithEvents gGlowBox1 As gGlowBox.gGlowBox
    Friend WithEvents Button1 As System.Windows.Forms.Button
    Friend WithEvents ComboBox1 As System.Windows.Forms.ComboBox
    Friend WithEvents TextBox1 As System.Windows.Forms.TextBox
    Friend WithEvents gGlowBox2 As gGlowBox.gGlowBox
    Friend WithEvents gGlowBox3 As gGlowBox.gGlowBox
    Friend WithEvents Label1 As System.Windows.Forms.Label
    Friend WithEvents Label2 As System.Windows.Forms.Label
    Friend WithEvents Label3 As System.Windows.Forms.Label
    Friend WithEvents Label4 As System.Windows.Forms.Label
    Friend WithEvents Label5 As System.Windows.Forms.Label
    Friend WithEvents Label6 As System.Windows.Forms.Label
    Friend WithEvents gGlowBox5 As gGlowBox.gGlowBox
    Friend WithEvents TextBox2 As System.Windows.Forms.TextBox
    Friend WithEvents gGlowBox6 As gGlowBox.gGlowBox
    Friend WithEvents TextBox3 As System.Windows.Forms.TextBox
    Friend WithEvents gGlowBox7 As gGlowBox.gGlowBox
    Friend WithEvents TextBox4 As System.Windows.Forms.TextBox
    Friend WithEvents gGlowBox8 As gGlowBox.gGlowBox
    Friend WithEvents TextBox5 As System.Windows.Forms.TextBox
    Friend WithEvents Label7 As System.Windows.Forms.Label
    Friend WithEvents gGlowBox9 As gGlowBox.gGlowBox
    Friend WithEvents Button2 As System.Windows.Forms.Button
    Friend WithEvents CheckBox1 As System.Windows.Forms.CheckBox
    Friend WithEvents gGlowBox10 As gGlowBox.gGlowBox
    Friend WithEvents ListBox1 As System.Windows.Forms.ListBox
    Friend WithEvents gGlowBox11 As gGlowBox.gGlowBox
    Friend WithEvents TabControl1 As System.Windows.Forms.TabControl
    Friend WithEvents TabPage1 As System.Windows.Forms.TabPage
    Friend WithEvents TabPage2 As System.Windows.Forms.TabPage
    Friend WithEvents GGlowGroupBox1 As gGlowBox.gGlowGroupBox
    Friend WithEvents GGlowGroupBox2 As gGlowBox.gGlowGroupBox
    Friend WithEvents Button3 As System.Windows.Forms.Button
    Friend WithEvents Button4 As System.Windows.Forms.Button
    Friend WithEvents ComboBox2 As System.Windows.Forms.ComboBox
    Friend WithEvents ListBox2 As System.Windows.Forms.ListBox
    Friend WithEvents TextBox6 As System.Windows.Forms.TextBox
    Friend WithEvents TextBox7 As System.Windows.Forms.TextBox
    Friend WithEvents TextBox8 As System.Windows.Forms.TextBox
    Friend WithEvents TextBox9 As System.Windows.Forms.TextBox
    Friend WithEvents TextBox10 As System.Windows.Forms.TextBox
    Friend WithEvents CheckBox2 As System.Windows.Forms.CheckBox
    Friend WithEvents Label8 As System.Windows.Forms.Label
    Friend WithEvents Label9 As System.Windows.Forms.Label
    Friend WithEvents Label10 As System.Windows.Forms.Label
    Friend WithEvents Label11 As System.Windows.Forms.Label
    Friend WithEvents Label12 As System.Windows.Forms.Label
    Friend WithEvents Label13 As System.Windows.Forms.Label
    Friend WithEvents Label14 As System.Windows.Forms.Label
    Friend WithEvents GGlowBox4 As gGlowBox.gGlowBox
    Friend WithEvents Panel1 As System.Windows.Forms.Panel
    Friend WithEvents RadioButton2 As System.Windows.Forms.RadioButton
    Friend WithEvents RadioButton1 As System.Windows.Forms.RadioButton

End Class

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer
United States United States
I first got hooked on programing with the TI994A. After it finally lost all support I reluctantly moved to the Apple IIe. Thank You BeagleBros for getting me through. I wrote programs for my Scuba buisness during this time. Currently I am a Database manager and software developer. I started with VBA and VB6 and now having fun with VB.NET/WPF/C#...

Comments and Discussions