09-11-2010 11-59-51 ق

Features:

It add Aero Glass to your Forms!

It also has special properties:

1- AeroGlassEnabled: Gets or sets Is Aero Glass Enabled?

2- AeroEnabled: Gets or sets Is Window Aero Enabled?

3- CurrentAeroColor: Gets Windows Aero Color.

4- GlowValue: Gets or sets Value of Labels Glow.

5- AutoShowLabels: Gets or sets Is automatical call ShowLabel for all Labels in the Form?

It has special Events for Aero:

1- AeroEffectEnabled: Occurs when Aero Turn on.

2- AeroEffectDisabled: Occurs when Aero Turn off.

3- AeroColorChanged: Occurs when Aero Color changed.

It has two method to Create Aero Form:

1- ResetAeroGlass: Change all of Form to Aero Glass.

2- ExceptFromAero: Change all of Form to Aero Glass excluding a Control.

It run normaly in Windows 7,Windows Vista and above and can run in Windows XP.

It’s use this API to extend Aero Frame:

    <StructLayout(LayoutKind.Sequential)> _
    Public Structure MARGINS
        Public Right As Integer
        Public left As Integer
        Public Top As Integer
        Public Bottom As Integer
    End Structure
    <DllImport("dwmapi.dll")> _
    Public Shared Function DwmExtendFrameIntoClientArea(ByVal hWnd As IntPtr, ByRef pMarinset As MARGINS) As Integer
    End Function

This is sample use code:

Me.BackgroundImage = Nothing
Dim margins As MARGINS = New MARGINS
margins.left = -1
margins.Right = -1
margins.Top = -1
margins.Bottom = -1
Dim hwnd As IntPtr = Handle
Dim result As Integer = DwmExtendFrameIntoClientArea(hwnd, margins)
Me.BackColor = Color.Black

How to use:

1- Click New Item…

2- Select Windows Forms category.

3- Select Fix soft Aero Form.

4- Click Add button.

Download:

Download VSIX

If you like this product, Go and see Fix soft HyperAero Form!

Advertisements