Click here to Skip to main content
15,896,111 members
Articles / Multimedia / GDI+

Glass Effect Extender Library for your Applications

Rate me:
Please Sign up or sign in to vote.
4.89/5 (75 votes)
17 Aug 2009CPOL6 min read 219.8K   19.7K   192  
This library enables you to control the glass effect of Windows Vista and Windows 7.
<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.components = New System.ComponentModel.Container
        Dim resources As System.ComponentModel.ComponentResourceManager = New System.ComponentModel.ComponentResourceManager(GetType(Form1))
        Me.lblTitle = New System.Windows.Forms.Label
        Me.PictureBox1 = New System.Windows.Forms.PictureBox
        Me.Timer1 = New System.Windows.Forms.Timer(Me.components)
        Me.trkTop = New System.Windows.Forms.TrackBar
        Me.Label1 = New System.Windows.Forms.Label
        Me.lblTop = New System.Windows.Forms.Label
        Me.lblBottom = New System.Windows.Forms.Label
        Me.Label4 = New System.Windows.Forms.Label
        Me.trkBottom = New System.Windows.Forms.TrackBar
        Me.lblLeft = New System.Windows.Forms.Label
        Me.Label6 = New System.Windows.Forms.Label
        Me.trkLeft = New System.Windows.Forms.TrackBar
        Me.lblRight = New System.Windows.Forms.Label
        Me.Label8 = New System.Windows.Forms.Label
        Me.trkRight = New System.Windows.Forms.TrackBar
        CType(Me.PictureBox1, System.ComponentModel.ISupportInitialize).BeginInit()
        CType(Me.trkTop, System.ComponentModel.ISupportInitialize).BeginInit()
        CType(Me.trkBottom, System.ComponentModel.ISupportInitialize).BeginInit()
        CType(Me.trkLeft, System.ComponentModel.ISupportInitialize).BeginInit()
        CType(Me.trkRight, System.ComponentModel.ISupportInitialize).BeginInit()
        Me.SuspendLayout()
        '
        'lblTitle
        '
        Me.lblTitle.AutoSize = True
        Me.lblTitle.Font = New System.Drawing.Font("Bookman Old Style", 9.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me.lblTitle.ForeColor = System.Drawing.Color.Black
        Me.lblTitle.Location = New System.Drawing.Point(155, 56)
        Me.lblTitle.Name = "lblTitle"
        Me.lblTitle.Size = New System.Drawing.Size(249, 18)
        Me.lblTitle.TabIndex = 1
        Me.lblTitle.Text = "rta Glass Effect Extender - Example 1"
        Me.lblTitle.Visible = False
        '
        'PictureBox1
        '
        Me.PictureBox1.Image = CType(resources.GetObject("PictureBox1.Image"), System.Drawing.Image)
        Me.PictureBox1.Location = New System.Drawing.Point(12, -6)
        Me.PictureBox1.Name = "PictureBox1"
        Me.PictureBox1.Size = New System.Drawing.Size(128, 128)
        Me.PictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize
        Me.PictureBox1.TabIndex = 2
        Me.PictureBox1.TabStop = False
        Me.PictureBox1.Visible = False
        '
        'Timer1
        '
        Me.Timer1.Interval = 1
        '
        'trkTop
        '
        Me.trkTop.Location = New System.Drawing.Point(202, 153)
        Me.trkTop.Maximum = 100
        Me.trkTop.Name = "trkTop"
        Me.trkTop.Size = New System.Drawing.Size(213, 45)
        Me.trkTop.TabIndex = 3
        Me.trkTop.TickFrequency = 5
        Me.trkTop.Value = 90
        '
        'Label1
        '
        Me.Label1.AutoSize = True
        Me.Label1.Location = New System.Drawing.Point(150, 158)
        Me.Label1.Name = "Label1"
        Me.Label1.Size = New System.Drawing.Size(32, 13)
        Me.Label1.TabIndex = 4
        Me.Label1.Text = "Top :"
        Me.Label1.TextAlign = System.Drawing.ContentAlignment.TopCenter
        '
        'lblTop
        '
        Me.lblTop.AutoSize = True
        Me.lblTop.Location = New System.Drawing.Point(421, 158)
        Me.lblTop.Name = "lblTop"
        Me.lblTop.Size = New System.Drawing.Size(19, 13)
        Me.lblTop.TabIndex = 5
        Me.lblTop.Text = "90"
        Me.lblTop.TextAlign = System.Drawing.ContentAlignment.TopCenter
        '
        'lblBottom
        '
        Me.lblBottom.AutoSize = True
        Me.lblBottom.Location = New System.Drawing.Point(421, 209)
        Me.lblBottom.Name = "lblBottom"
        Me.lblBottom.Size = New System.Drawing.Size(13, 13)
        Me.lblBottom.TabIndex = 8
        Me.lblBottom.Text = "0"
        Me.lblBottom.TextAlign = System.Drawing.ContentAlignment.TopCenter
        '
        'Label4
        '
        Me.Label4.AutoSize = True
        Me.Label4.Location = New System.Drawing.Point(150, 209)
        Me.Label4.Name = "Label4"
        Me.Label4.Size = New System.Drawing.Size(48, 13)
        Me.Label4.TabIndex = 7
        Me.Label4.Text = "Bottom :"
        Me.Label4.TextAlign = System.Drawing.ContentAlignment.TopCenter
        '
        'trkBottom
        '
        Me.trkBottom.Location = New System.Drawing.Point(202, 204)
        Me.trkBottom.Maximum = 100
        Me.trkBottom.Name = "trkBottom"
        Me.trkBottom.Size = New System.Drawing.Size(213, 45)
        Me.trkBottom.TabIndex = 6
        Me.trkBottom.TickFrequency = 5
        '
        'lblLeft
        '
        Me.lblLeft.AutoSize = True
        Me.lblLeft.Location = New System.Drawing.Point(421, 260)
        Me.lblLeft.Name = "lblLeft"
        Me.lblLeft.Size = New System.Drawing.Size(13, 13)
        Me.lblLeft.TabIndex = 11
        Me.lblLeft.Text = "0"
        Me.lblLeft.TextAlign = System.Drawing.ContentAlignment.TopCenter
        '
        'Label6
        '
        Me.Label6.AutoSize = True
        Me.Label6.Location = New System.Drawing.Point(150, 260)
        Me.Label6.Name = "Label6"
        Me.Label6.Size = New System.Drawing.Size(33, 13)
        Me.Label6.TabIndex = 10
        Me.Label6.Text = "Left :"
        Me.Label6.TextAlign = System.Drawing.ContentAlignment.TopCenter
        '
        'trkLeft
        '
        Me.trkLeft.Location = New System.Drawing.Point(202, 255)
        Me.trkLeft.Maximum = 100
        Me.trkLeft.Name = "trkLeft"
        Me.trkLeft.Size = New System.Drawing.Size(213, 45)
        Me.trkLeft.TabIndex = 9
        Me.trkLeft.TickFrequency = 5
        '
        'lblRight
        '
        Me.lblRight.AutoSize = True
        Me.lblRight.Location = New System.Drawing.Point(421, 311)
        Me.lblRight.Name = "lblRight"
        Me.lblRight.Size = New System.Drawing.Size(13, 13)
        Me.lblRight.TabIndex = 14
        Me.lblRight.Text = "0"
        Me.lblRight.TextAlign = System.Drawing.ContentAlignment.TopCenter
        '
        'Label8
        '
        Me.Label8.AutoSize = True
        Me.Label8.Location = New System.Drawing.Point(150, 311)
        Me.Label8.Name = "Label8"
        Me.Label8.Size = New System.Drawing.Size(39, 13)
        Me.Label8.TabIndex = 13
        Me.Label8.Text = "Right :"
        Me.Label8.TextAlign = System.Drawing.ContentAlignment.TopCenter
        '
        'trkRight
        '
        Me.trkRight.Location = New System.Drawing.Point(202, 306)
        Me.trkRight.Maximum = 100
        Me.trkRight.Name = "trkRight"
        Me.trkRight.Size = New System.Drawing.Size(213, 45)
        Me.trkRight.TabIndex = 12
        Me.trkRight.TickFrequency = 5
        '
        'Form1
        '
        Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!)
        Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
        Me.ClientSize = New System.Drawing.Size(645, 455)
        Me.Controls.Add(Me.lblRight)
        Me.Controls.Add(Me.Label8)
        Me.Controls.Add(Me.trkRight)
        Me.Controls.Add(Me.lblLeft)
        Me.Controls.Add(Me.Label6)
        Me.Controls.Add(Me.trkLeft)
        Me.Controls.Add(Me.lblBottom)
        Me.Controls.Add(Me.Label4)
        Me.Controls.Add(Me.trkBottom)
        Me.Controls.Add(Me.lblTop)
        Me.Controls.Add(Me.Label1)
        Me.Controls.Add(Me.trkTop)
        Me.Controls.Add(Me.PictureBox1)
        Me.Controls.Add(Me.lblTitle)
        Me.Name = "Form1"
        CType(Me.PictureBox1, System.ComponentModel.ISupportInitialize).EndInit()
        CType(Me.trkTop, System.ComponentModel.ISupportInitialize).EndInit()
        CType(Me.trkBottom, System.ComponentModel.ISupportInitialize).EndInit()
        CType(Me.trkLeft, System.ComponentModel.ISupportInitialize).EndInit()
        CType(Me.trkRight, System.ComponentModel.ISupportInitialize).EndInit()
        Me.ResumeLayout(False)
        Me.PerformLayout()

    End Sub
    Friend WithEvents lblTitle As System.Windows.Forms.Label
    Friend WithEvents PictureBox1 As System.Windows.Forms.PictureBox
    Friend WithEvents Timer1 As System.Windows.Forms.Timer
    Friend WithEvents trkTop As System.Windows.Forms.TrackBar
    Friend WithEvents Label1 As System.Windows.Forms.Label
    Friend WithEvents lblTop As System.Windows.Forms.Label
    Friend WithEvents lblBottom As System.Windows.Forms.Label
    Friend WithEvents Label4 As System.Windows.Forms.Label
    Friend WithEvents trkBottom As System.Windows.Forms.TrackBar
    Friend WithEvents lblLeft As System.Windows.Forms.Label
    Friend WithEvents Label6 As System.Windows.Forms.Label
    Friend WithEvents trkLeft As System.Windows.Forms.TrackBar
    Friend WithEvents lblRight As System.Windows.Forms.Label
    Friend WithEvents Label8 As System.Windows.Forms.Label
    Friend WithEvents trkRight As System.Windows.Forms.TrackBar

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
Team Leader Hawk International for Finance & Construction Ltd.
Yemen Yemen
Bachelor degree of Computer Sciences, Software developer using .NET (Visual Basic & C#).
I like the development of an Artificial Intelligence Systems, GPS Applications, GDI+, APIs, N-Tier Applications, Distributed Systems and Network Monitoring Systems.
Mobile Development (Windows Mobile & Android).

Comments and Discussions