VisualStyleElement.cs source code in C# .NET

Source code for the .NET framework in C#

                        

Code:

/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / WinForms / Managed / System / WinForms / VisualStyles / VisualStyleElement.cs / 1305376 / VisualStyleElement.cs

                            //------------------------------------------------------------------------------ 
// 
//     Copyright (c) Microsoft Corporation.  All rights reserved.
// 
//----------------------------------------------------------------------------- 
using System.Diagnostics.CodeAnalysis;
 
 
// Using nested types here is an intentional design.
[assembly: SuppressMessage("Microsoft.Design", "CA1034:NestedTypesShouldNotBeVisible", Scope="type", Target="System.Windows.Forms.VisualStyles.VisualStyleElement+Taskbar+SizingBarLeft")] 
[assembly: SuppressMessage("Microsoft.Design", "CA1034:NestedTypesShouldNotBeVisible", Scope="type", Target="System.Windows.Forms.VisualStyles.VisualStyleElement+Taskbar+BackgroundLeft")]
[assembly: SuppressMessage("Microsoft.Design", "CA1034:NestedTypesShouldNotBeVisible", Scope="type", Target="System.Windows.Forms.VisualStyles.VisualStyleElement+Taskbar+BackgroundBottom")]
[assembly: SuppressMessage("Microsoft.Design", "CA1034:NestedTypesShouldNotBeVisible", Scope="type", Target="System.Windows.Forms.VisualStyles.VisualStyleElement+Taskbar+SizingBarTop")]
[assembly: SuppressMessage("Microsoft.Design", "CA1034:NestedTypesShouldNotBeVisible", Scope="type", Target="System.Windows.Forms.VisualStyles.VisualStyleElement+TaskbarClock+Time")] 
[assembly: SuppressMessage("Microsoft.Design", "CA1034:NestedTypesShouldNotBeVisible", Scope="type", Target="System.Windows.Forms.VisualStyles.VisualStyleElement+Taskbar+BackgroundTop")]
[assembly: SuppressMessage("Microsoft.Design", "CA1034:NestedTypesShouldNotBeVisible", Scope="type", Target="System.Windows.Forms.VisualStyles.VisualStyleElement+Taskbar+SizingBarBottom")] 
[assembly: SuppressMessage("Microsoft.Design", "CA1034:NestedTypesShouldNotBeVisible", Scope="type", Target="System.Windows.Forms.VisualStyles.VisualStyleElement+TaskbarClock")] 
[assembly: SuppressMessage("Microsoft.Design", "CA1034:NestedTypesShouldNotBeVisible", Scope="type", Target="System.Windows.Forms.VisualStyles.VisualStyleElement+Taskbar")]
[assembly: SuppressMessage("Microsoft.Design", "CA1034:NestedTypesShouldNotBeVisible", Scope="type", Target="System.Windows.Forms.VisualStyles.VisualStyleElement+Taskbar+BackgroundRight")] 
[assembly: SuppressMessage("Microsoft.Design", "CA1034:NestedTypesShouldNotBeVisible", Scope="type", Target="System.Windows.Forms.VisualStyles.VisualStyleElement+Taskbar+SizingBarRight")]
[assembly: SuppressMessage("Microsoft.MSInternal", "CA905:SystemAndMicrosoftNamespacesRequireApproval", Scope="namespace", Target="System.Windows.Forms.VisualStyles")]

namespace System.Windows.Forms.VisualStyles { 

    ///  
    ///  
    ///    
    ///       Encapsulates the class, part and state of the "element" you wish to draw using 
    ///       the VisualStyleRenderer.
    ///       Usage pattern is something like this: new VisualStyleRenderer(VisualStyleElement.Window.Caption.Active);
    ///    
    ///  
    public class VisualStyleElement {
        internal static readonly int Count = 25; //UPDATE THIS WHEN CLASSES ARE ADDED/REMOVED! 
        private string className; 
        private int part;
        private int state; 

        private VisualStyleElement(string className, int part, int state) {
            this.className = className;
            this.part = part; 
            this.state = state;
        } 
 
        public static VisualStyleElement CreateElement(string className, int part, int state) {
            return new VisualStyleElement(className, part, state); 
        }

        public string ClassName {
            get { 
                return className;
            } 
        } 

        public int Part { 
            get {
                return part;
            }
        } 

        public int State { 
            get { 
                return state;
            } 
        }

        public static class Button {
            private static readonly string className = "BUTTON"; 

            public static class PushButton { 
                private static readonly int part = 1; 

 
                private static VisualStyleElement normal;

                public static VisualStyleElement Normal {
                    get { 
                        if (normal == null) {
                            normal = new VisualStyleElement(className, part, 1); 
                        } 

                        return normal; 
                    }
                }

                private static VisualStyleElement hot; 

                public static VisualStyleElement Hot { 
                    get { 
                        if (hot == null) {
                            hot = new VisualStyleElement(className, part, 2); 
                        }

                        return hot;
                    } 
                }
 
                private static VisualStyleElement pressed; 

                public static VisualStyleElement Pressed { 
                    get {
                        if (pressed == null) {
                            pressed = new VisualStyleElement(className, part, 3);
                        } 

                        return pressed; 
                    } 
                }
 
                private static VisualStyleElement disabled;

                public static VisualStyleElement Disabled {
                    get { 
                        if (disabled == null) {
                            disabled = new VisualStyleElement(className, part, 4); 
                        } 

                        return disabled; 
                    }
                }

                private static VisualStyleElement _default; 

                public static VisualStyleElement Default { 
                    get { 
                        if (_default == null) {
                            _default = new VisualStyleElement(className, part, 5); 
                        }

                        return _default;
                    } 
                }
            } 
 
            public static class RadioButton {
                private static readonly int part = 2; 


                private static VisualStyleElement uncheckednormal;
 
                public static VisualStyleElement UncheckedNormal {
                    get { 
                        if (uncheckednormal == null) { 
                            uncheckednormal = new VisualStyleElement(className, part, 1);
                        } 

                        return uncheckednormal;
                    }
                } 

                private static VisualStyleElement uncheckedhot; 
 
                public static VisualStyleElement UncheckedHot {
                    get { 
                        if (uncheckedhot == null) {
                            uncheckedhot = new VisualStyleElement(className, part, 2);
                        }
 
                        return uncheckedhot;
                    } 
                } 

                private static VisualStyleElement uncheckedpressed; 

                public static VisualStyleElement UncheckedPressed {
                    get {
                        if (uncheckedpressed == null) { 
                            uncheckedpressed = new VisualStyleElement(className, part, 3);
                        } 
 
                        return uncheckedpressed;
                    } 
                }

                private static VisualStyleElement uncheckeddisabled;
 
                public static VisualStyleElement UncheckedDisabled {
                    get { 
                        if (uncheckeddisabled == null) { 
                            uncheckeddisabled = new VisualStyleElement(className, part, 4);
                        } 

                        return uncheckeddisabled;
                    }
                } 

                private static VisualStyleElement checkednormal; 
 
                public static VisualStyleElement CheckedNormal {
                    get { 
                        if (checkednormal == null) {
                            checkednormal = new VisualStyleElement(className, part, 5);
                        }
 
                        return checkednormal;
                    } 
                } 

                private static VisualStyleElement checkedhot; 

                public static VisualStyleElement CheckedHot {
                    get {
                        if (checkedhot == null) { 
                            checkedhot = new VisualStyleElement(className, part, 6);
                        } 
 
                        return checkedhot;
                    } 
                }

                private static VisualStyleElement checkedpressed;
 
                public static VisualStyleElement CheckedPressed {
                    get { 
                        if (checkedpressed == null) { 
                            checkedpressed = new VisualStyleElement(className, part, 7);
                        } 

                        return checkedpressed;
                    }
                } 

                private static VisualStyleElement checkeddisabled; 
 
                public static VisualStyleElement CheckedDisabled {
                    get { 
                        if (checkeddisabled == null) {
                            checkeddisabled = new VisualStyleElement(className, part, 8);
                        }
 
                        return checkeddisabled;
                    } 
                } 
            }
 
            public static class CheckBox {
                private static readonly int part = 3;

                private static VisualStyleElement uncheckednormal; 

                public static VisualStyleElement UncheckedNormal { 
                    get { 
                        if (uncheckednormal == null) {
                            uncheckednormal = new VisualStyleElement(className, part, 1); 
                        }

                        return uncheckednormal;
                    } 
                }
 
                private static VisualStyleElement uncheckedhot; 

                public static VisualStyleElement UncheckedHot { 
                    get {
                        if (uncheckedhot == null) {
                            uncheckedhot = new VisualStyleElement(className, part, 2);
                        } 

                        return uncheckedhot; 
                    } 
                }
 
                private static VisualStyleElement uncheckedpressed;

                public static VisualStyleElement UncheckedPressed {
                    get { 
                        if (uncheckedpressed == null) {
                            uncheckedpressed = new VisualStyleElement(className, part, 3); 
                        } 

                        return uncheckedpressed; 
                    }
                }

                private static VisualStyleElement uncheckeddisabled; 

                public static VisualStyleElement UncheckedDisabled { 
                    get { 
                        if (uncheckeddisabled == null) {
                            uncheckeddisabled = new VisualStyleElement(className, part, 4); 
                        }

                        return uncheckeddisabled;
                    } 
                }
 
                private static VisualStyleElement checkednormal; 

                public static VisualStyleElement CheckedNormal { 
                    get {
                        if (checkednormal == null) {
                            checkednormal = new VisualStyleElement(className, part, 5);
                        } 

                        return checkednormal; 
                    } 
                }
 
                private static VisualStyleElement checkedhot;

                public static VisualStyleElement CheckedHot {
                    get { 
                        if (checkedhot == null) {
                            checkedhot = new VisualStyleElement(className, part, 6); 
                        } 

                        return checkedhot; 
                    }
                }

                private static VisualStyleElement checkedpressed; 

                public static VisualStyleElement CheckedPressed { 
                    get { 
                        if (checkedpressed == null) {
                            checkedpressed = new VisualStyleElement(className, part, 7); 
                        }

                        return checkedpressed;
                    } 
                }
 
                private static VisualStyleElement checkeddisabled; 

                public static VisualStyleElement CheckedDisabled { 
                    get {
                        if (checkeddisabled == null) {
                            checkeddisabled = new VisualStyleElement(className, part, 8);
                        } 

                        return checkeddisabled; 
                    } 
                }
 
                private static VisualStyleElement mixednormal;

                public static VisualStyleElement MixedNormal {
                    get { 
                        if (mixednormal == null) {
                            mixednormal = new VisualStyleElement(className, part, 9); 
                        } 

                        return mixednormal; 
                    }
                }

                private static VisualStyleElement mixedhot; 

                public static VisualStyleElement MixedHot { 
                    get { 
                        if (mixedhot == null) {
                            mixedhot = new VisualStyleElement(className, part, 10); 
                        }

                        return mixedhot;
                    } 
                }
 
                private static VisualStyleElement mixedpressed; 

                public static VisualStyleElement MixedPressed { 
                    get {
                        if (mixedpressed == null) {
                            mixedpressed = new VisualStyleElement(className, part, 11);
                        } 

                        return mixedpressed; 
                    } 
                }
 
                private static VisualStyleElement mixeddisabled;

                public static VisualStyleElement MixedDisabled {
                    get { 
                        if (mixeddisabled == null) {
                            mixeddisabled = new VisualStyleElement(className, part, 12); 
                        } 

                        return mixeddisabled; 
                    }
                }
            }
 
            public static class GroupBox {
                private static readonly int part = 4; 
 
                private static VisualStyleElement normal;
 
                public static VisualStyleElement Normal {
                    get {
                        if (normal == null) {
                            normal = new VisualStyleElement(className, part, 1); 
                        }
 
                        return normal; 
                    }
                } 

                private static VisualStyleElement disabled;

                public static VisualStyleElement Disabled { 
                    get {
                        if (disabled == null) { 
                            disabled = new VisualStyleElement(className, part, 2); 
                        }
 
                        return disabled;
                    }
                }
            } 

            public static class UserButton { 
                private static readonly int part = 5; 

                private static VisualStyleElement normal; 

                public static VisualStyleElement Normal {
                    get {
                        if (normal == null) { 
                            normal = new VisualStyleElement(className, part, 0);
                        } 
 
                        return normal;
                    } 
                }
            }
        } //END BUTTON
 
        public static class ComboBox {
            private static readonly string className = "COMBOBOX"; 
 
            public static class DropDownButton {
                private static readonly int part = 1; 


                private static VisualStyleElement normal;
 
                public static VisualStyleElement Normal {
                    get { 
                        if (normal == null) { 
                            normal = new VisualStyleElement(className, part, 1);
                        } 

                        return normal;
                    }
                } 

                private static VisualStyleElement hot; 
 
                public static VisualStyleElement Hot {
                    get { 
                        if (hot == null) {
                            hot = new VisualStyleElement(className, part, 2);
                        }
 
                        return hot;
                    } 
                } 

                private static VisualStyleElement pressed; 

                public static VisualStyleElement Pressed {
                    get {
                        if (pressed == null) { 
                            pressed = new VisualStyleElement(className, part, 3);
                        } 
 
                        return pressed;
                    } 
                }

                private static VisualStyleElement disabled;
 
                public static VisualStyleElement Disabled {
                    get { 
                        if (disabled == null) { 
                            disabled = new VisualStyleElement(className, part, 4);
                        } 

                        return disabled;
                    }
                } 
            }
 
            // Following parts exist on Vista and later releases only 
            internal static class Border
            { 
                // Paints a rectangle with a 1 pixel edge + round corners,
                // and fills it with a color
                private const int part = 4;
 
                // possible states for various fill color:
                //  2 - semi transparent 
                //  3 - Window Color (white by default) 
                //  4 - disabled (light gray by default)
 
                private static VisualStyleElement normal;

                public static VisualStyleElement Normal
                { 
                    get
                    { 
                        if (normal == null) 
                        {
                            normal = new VisualStyleElement(className, part, 3); 
                        }
                        return normal;
                    }
                } 
            }
 
            internal static class ReadOnlyButton 
            {
                // Paints a button for non-editable comboboxes (DropDownStyle=DropDownList) 
                private const int part = 5;

                // possible states:
                //  1 - disabled (gray by default) 
                //  2 - normal (blue by default)
                //  3 - pressed (dark blue by default) 
                //  4 - flat (light gray by default) 

                private static VisualStyleElement normal; 

                public static VisualStyleElement Normal
                {
                    get 
                    {
                        if (normal == null) 
                        { 
                            normal = new VisualStyleElement(className, part, 2);
                        } 
                        return normal;
                    }
                }
            } 

            internal static class DropDownButtonRight 
            { 
                // Paints a dropdownbutton with right angles on the left side for
                // editable comboboxes (DropDownStyle=DropDown) for RTL=false case 
                private const int part = 6;

                // possible states:
                //  1 - normal (transparent background with just normal arrow) 
                //  2 - hot (arrow with blue background by default)
                //  3 - pressed (arrow with dark blue background by default) 
                //  4 - disabled (transparent background with just light arrow) 

                private static VisualStyleElement normal; 

                public static VisualStyleElement Normal
                {
                    get 
                    {
                        if (normal == null) 
                        { 
                            normal = new VisualStyleElement(className, part, 1);
                        } 
                        return normal;
                    }
                }
 
                /* Unused for now
                private static VisualStyleElement hot; 
 
                public static VisualStyleElement Hot
                { 
                    get
                    {
                        if (hot == null)
                        { 
                            hot = new VisualStyleElement(className, part, 2);
                        } 
                        return hot; 
                    }
                } 

                private static VisualStyleElement pressed;

                public static VisualStyleElement Pressed 
                {
                    get 
                    { 
                        if (pressed == null)
                        { 
                            pressed = new VisualStyleElement(className, part, 3);
                        }
                        return pressed;
                    } 
                }
 
                private static VisualStyleElement disabled; 

                public static VisualStyleElement Disabled 
                {
                    get
                    {
                        if (disabled == null) 
                        {
                            disabled = new VisualStyleElement(className, part, 4); 
                        } 
                        return disabled;
                    } 
                }
                */
            }
 
            internal static class DropDownButtonLeft
            { 
                // Paints a dropdownbutton with right angles on the right side for 
                // editable comboboxes (DropDownStyle=DropDown) for RTL=true case
                private const int part = 7; 

                // possible states:
                //  1 - transparent normal (just normal arrow)
                //  2 - normal (blue by default) 
                //  3 - pressed (dark blue by default)
                //  4 - transparent disabled (just light arrow) 
 
                private static VisualStyleElement normal;
 
                public static VisualStyleElement Normal
                {
                    get
                    { 
                        if (normal == null)
                        { 
                            normal = new VisualStyleElement(className, part, 2); 
                        }
                        return normal; 
                    }
                }
            }
 
            /* Unused for now
            internal static class CueBanner 
            { 
                // Paints a rectangle with sharp edges and fills it. Default edge color is black,
                // default fill color is white. 
                private const int part = 8;

                private static VisualStyleElement normal;
 
                public static VisualStyleElement Normal
                { 
                    get 
                    {
                        if (normal == null) 
                        {
                            normal = new VisualStyleElement(className, part, 1);
                        }
                        return normal; 
                    }
                } 
            } 
            */
        } //END COMBOBOX 

        public static class Page {
            private static readonly string className = "PAGE";
 
            public static class Up {
                private static readonly int part = 1; 
 

                private static VisualStyleElement normal; 

                public static VisualStyleElement Normal {
                    get {
                        if (normal == null) { 
                            normal = new VisualStyleElement(className, part, 1);
                        } 
 
                        return normal;
                    } 
                }

                private static VisualStyleElement hot;
 
                public static VisualStyleElement Hot {
                    get { 
                        if (hot == null) { 
                            hot = new VisualStyleElement(className, part, 2);
                        } 

                        return hot;
                    }
                } 

                private static VisualStyleElement pressed; 
 
                public static VisualStyleElement Pressed {
                    get { 
                        if (pressed == null) {
                            pressed = new VisualStyleElement(className, part, 3);
                        }
 
                        return pressed;
                    } 
                } 

                private static VisualStyleElement disabled; 

                public static VisualStyleElement Disabled {
                    get {
                        if (disabled == null) { 
                            disabled = new VisualStyleElement(className, part, 4);
                        } 
 
                        return disabled;
                    } 
                }
            }

            public static class Down { 
                private static readonly int part = 2;
 
 
                private static VisualStyleElement normal;
 
                public static VisualStyleElement Normal {
                    get {
                        if (normal == null) {
                            normal = new VisualStyleElement(className, part, 1); 
                        }
 
                        return normal; 
                    }
                } 

                private static VisualStyleElement hot;

                public static VisualStyleElement Hot { 
                    get {
                        if (hot == null) { 
                            hot = new VisualStyleElement(className, part, 2); 
                        }
 
                        return hot;
                    }
                }
 
                private static VisualStyleElement pressed;
 
                public static VisualStyleElement Pressed { 
                    get {
                        if (pressed == null) { 
                            pressed = new VisualStyleElement(className, part, 3);
                        }

                        return pressed; 
                    }
                } 
 
                private static VisualStyleElement disabled;
 
                public static VisualStyleElement Disabled {
                    get {
                        if (disabled == null) {
                            disabled = new VisualStyleElement(className, part, 4); 
                        }
 
                        return disabled; 
                    }
                } 
            }

            public static class UpHorizontal {
                private static readonly int part = 3; 

 
                private static VisualStyleElement normal; 

                public static VisualStyleElement Normal { 
                    get {
                        if (normal == null) {
                            normal = new VisualStyleElement(className, part, 1);
                        } 

                        return normal; 
                    } 
                }
 
                private static VisualStyleElement hot;

                public static VisualStyleElement Hot {
                    get { 
                        if (hot == null) {
                            hot = new VisualStyleElement(className, part, 2); 
                        } 

                        return hot; 
                    }
                }

                private static VisualStyleElement pressed; 

                public static VisualStyleElement Pressed { 
                    get { 
                        if (pressed == null) {
                            pressed = new VisualStyleElement(className, part, 3); 
                        }

                        return pressed;
                    } 
                }
 
                private static VisualStyleElement disabled; 

                public static VisualStyleElement Disabled { 
                    get {
                        if (disabled == null) {
                            disabled = new VisualStyleElement(className, part, 4);
                        } 

                        return disabled; 
                    } 
                }
            } 

            public static class DownHorizontal {
                private static readonly int part = 4;
 

                private static VisualStyleElement normal; 
 
                public static VisualStyleElement Normal {
                    get { 
                        if (normal == null) {
                            normal = new VisualStyleElement(className, part, 1);
                        }
 
                        return normal;
                    } 
                } 

                private static VisualStyleElement hot; 

                public static VisualStyleElement Hot {
                    get {
                        if (hot == null) { 
                            hot = new VisualStyleElement(className, part, 2);
                        } 
 
                        return hot;
                    } 
                }

                private static VisualStyleElement pressed;
 
                public static VisualStyleElement Pressed {
                    get { 
                        if (pressed == null) { 
                            pressed = new VisualStyleElement(className, part, 3);
                        } 

                        return pressed;
                    }
                } 

                private static VisualStyleElement disabled; 
 
                public static VisualStyleElement Disabled {
                    get { 
                        if (disabled == null) {
                            disabled = new VisualStyleElement(className, part, 4);
                        }
 
                        return disabled;
                    } 
                } 
            }
        } //END PAGE 

        public static class Spin {
            private static readonly string className = "SPIN";
 
            public static class Up {
                private static readonly int part = 1; 
 

                private static VisualStyleElement normal; 

                public static VisualStyleElement Normal {
                    get {
                        if (normal == null) { 
                            normal = new VisualStyleElement(className, part, 1);
                        } 
 
                        return normal;
                    } 
                }

                private static VisualStyleElement hot;
 
                public static VisualStyleElement Hot {
                    get { 
                        if (hot == null) { 
                            hot = new VisualStyleElement(className, part, 2);
                        } 

                        return hot;
                    }
                } 

                private static VisualStyleElement pressed; 
 
                public static VisualStyleElement Pressed {
                    get { 
                        if (pressed == null) {
                            pressed = new VisualStyleElement(className, part, 3);
                        }
 
                        return pressed;
                    } 
                } 

                private static VisualStyleElement disabled; 

                public static VisualStyleElement Disabled {
                    get {
                        if (disabled == null) { 
                            disabled = new VisualStyleElement(className, part, 4);
                        } 
 
                        return disabled;
                    } 
                }
            }

            public static class Down { 
                private static readonly int part = 2;
 
 
                private static VisualStyleElement normal;
 
                public static VisualStyleElement Normal {
                    get {
                        if (normal == null) {
                            normal = new VisualStyleElement(className, part, 1); 
                        }
 
                        return normal; 
                    }
                } 

                private static VisualStyleElement hot;

                public static VisualStyleElement Hot { 
                    get {
                        if (hot == null) { 
                            hot = new VisualStyleElement(className, part, 2); 
                        }
 
                        return hot;
                    }
                }
 
                private static VisualStyleElement pressed;
 
                public static VisualStyleElement Pressed { 
                    get {
                        if (pressed == null) { 
                            pressed = new VisualStyleElement(className, part, 3);
                        }

                        return pressed; 
                    }
                } 
 
                private static VisualStyleElement disabled;
 
                public static VisualStyleElement Disabled {
                    get {
                        if (disabled == null) {
                            disabled = new VisualStyleElement(className, part, 4); 
                        }
 
                        return disabled; 
                    }
                } 
            }

            public static class UpHorizontal {
                private static readonly int part = 3; 

 
                private static VisualStyleElement normal; 

                public static VisualStyleElement Normal { 
                    get {
                        if (normal == null) {
                            normal = new VisualStyleElement(className, part, 1);
                        } 

                        return normal; 
                    } 
                }
 
                private static VisualStyleElement hot;

                public static VisualStyleElement Hot {
                    get { 
                        if (hot == null) {
                            hot = new VisualStyleElement(className, part, 2); 
                        } 

                        return hot; 
                    }
                }

                private static VisualStyleElement pressed; 

                public static VisualStyleElement Pressed { 
                    get { 
                        if (pressed == null) {
                            pressed = new VisualStyleElement(className, part, 3); 
                        }

                        return pressed;
                    } 
                }
 
                private static VisualStyleElement disabled; 

                public static VisualStyleElement Disabled { 
                    get {
                        if (disabled == null) {
                            disabled = new VisualStyleElement(className, part, 4);
                        } 

                        return disabled; 
                    } 
                }
            } 

            public static class DownHorizontal {
                private static readonly int part = 4;
 

                private static VisualStyleElement normal; 
 
                public static VisualStyleElement Normal {
                    get { 
                        if (normal == null) {
                            normal = new VisualStyleElement(className, part, 1);
                        }
 
                        return normal;
                    } 
                } 

                private static VisualStyleElement hot; 

                public static VisualStyleElement Hot {
                    get {
                        if (hot == null) { 
                            hot = new VisualStyleElement(className, part, 2);
                        } 
 
                        return hot;
                    } 
                }

                private static VisualStyleElement pressed;
 
                public static VisualStyleElement Pressed {
                    get { 
                        if (pressed == null) { 
                            pressed = new VisualStyleElement(className, part, 3);
                        } 

                        return pressed;
                    }
                } 

                private static VisualStyleElement disabled; 
 
                public static VisualStyleElement Disabled {
                    get { 
                        if (disabled == null) {
                            disabled = new VisualStyleElement(className, part, 4);
                        }
 
                        return disabled;
                    } 
                } 
            }
        } //END SPIN 

        public static class ScrollBar {
            private static readonly string className = "SCROLLBAR";
 
            public static class ArrowButton {
                private static readonly int part = 1; 
 
                private static VisualStyleElement upnormal;
 
                public static VisualStyleElement UpNormal {
                    get {
                        if (upnormal == null) {
                            upnormal = new VisualStyleElement(className, part, 1); 
                        }
 
                        return upnormal; 
                    }
                } 

                private static VisualStyleElement uphot;

                public static VisualStyleElement UpHot { 
                    get {
                        if (uphot == null) { 
                            uphot = new VisualStyleElement(className, part, 2); 
                        }
 
                        return uphot;
                    }
                }
 
                private static VisualStyleElement uppressed;
 
                public static VisualStyleElement UpPressed { 
                    get {
                        if (uppressed == null) { 
                            uppressed = new VisualStyleElement(className, part, 3);
                        }

                        return uppressed; 
                    }
                } 
 
                private static VisualStyleElement updisabled;
 
                public static VisualStyleElement UpDisabled {
                    get {
                        if (updisabled == null) {
                            updisabled = new VisualStyleElement(className, part, 4); 
                        }
 
                        return updisabled; 
                    }
                } 

                private static VisualStyleElement downnormal;

                public static VisualStyleElement DownNormal { 
                    get {
                        if (downnormal == null) { 
                            downnormal = new VisualStyleElement(className, part, 5); 
                        }
 
                        return downnormal;
                    }
                }
 
                private static VisualStyleElement downhot;
 
                public static VisualStyleElement DownHot { 
                    get {
                        if (downhot == null) { 
                            downhot = new VisualStyleElement(className, part, 6);
                        }

                        return downhot; 
                    }
                } 
 
                private static VisualStyleElement downpressed;
 
                public static VisualStyleElement DownPressed {
                    get {
                        if (downpressed == null) {
                            downpressed = new VisualStyleElement(className, part, 7); 
                        }
 
                        return downpressed; 
                    }
                } 

                private static VisualStyleElement downdisabled;

                public static VisualStyleElement DownDisabled { 
                    get {
                        if (downdisabled == null) { 
                            downdisabled = new VisualStyleElement(className, part, 8); 
                        }
 
                        return downdisabled;
                    }
                }
 
                private static VisualStyleElement leftnormal;
 
                public static VisualStyleElement LeftNormal { 
                    get {
                        if (leftnormal == null) { 
                            leftnormal = new VisualStyleElement(className, part, 9);
                        }

                        return leftnormal; 
                    }
                } 
 
                private static VisualStyleElement lefthot;
 
                public static VisualStyleElement LeftHot {
                    get {
                        if (lefthot == null) {
                            lefthot = new VisualStyleElement(className, part, 10); 
                        }
 
                        return lefthot; 
                    }
                } 

                private static VisualStyleElement leftpressed;

                public static VisualStyleElement LeftPressed { 
                    get {
                        if (leftpressed == null) { 
                            leftpressed = new VisualStyleElement(className, part, 11); 
                        }
 
                        return leftpressed;
                    }
                }
 
                private static VisualStyleElement leftdisabled;
 
                public static VisualStyleElement LeftDisabled { 
                    get {
                        if (leftdisabled == null) { 
                            leftdisabled = new VisualStyleElement(className, part, 12);
                        }

                        return leftdisabled; 
                    }
                } 
 
                private static VisualStyleElement rightnormal;
 
                public static VisualStyleElement RightNormal {
                    get {
                        if (rightnormal == null) {
                            rightnormal = new VisualStyleElement(className, part, 13); 
                        }
 
                        return rightnormal; 
                    }
                } 

                private static VisualStyleElement righthot;

                public static VisualStyleElement RightHot { 
                    get {
                        if (righthot == null) { 
                            righthot = new VisualStyleElement(className, part, 14); 
                        }
 
                        return righthot;
                    }
                }
 
                private static VisualStyleElement rightpressed;
 
                public static VisualStyleElement RightPressed { 
                    get {
                        if (rightpressed == null) { 
                            rightpressed = new VisualStyleElement(className, part, 15);
                        }

                        return rightpressed; 
                    }
                } 
 
                private static VisualStyleElement rightdisabled;
 
                public static VisualStyleElement RightDisabled {
                    get {
                        if (rightdisabled == null) {
                            rightdisabled = new VisualStyleElement(className, part, 16); 
                        }
 
                        return rightdisabled; 
                    }
                } 
            }

            public static class ThumbButtonHorizontal {
                private static readonly int part = 2; 

 
                private static VisualStyleElement normal; 

                public static VisualStyleElement Normal { 
                    get {
                        if (normal == null) {
                            normal = new VisualStyleElement(className, part, 1);
                        } 

                        return normal; 
                    } 
                }
 
                private static VisualStyleElement hot;

                public static VisualStyleElement Hot {
                    get { 
                        if (hot == null) {
                            hot = new VisualStyleElement(className, part, 2); 
                        } 

                        return hot; 
                    }
                }

                private static VisualStyleElement pressed; 

                public static VisualStyleElement Pressed { 
                    get { 
                        if (pressed == null) {
                            pressed = new VisualStyleElement(className, part, 3); 
                        }

                        return pressed;
                    } 
                }
 
                private static VisualStyleElement disabled; 

                public static VisualStyleElement Disabled { 
                    get {
                        if (disabled == null) {
                            disabled = new VisualStyleElement(className, part, 4);
                        } 

                        return disabled; 
                    } 
                }
            } 

            public static class ThumbButtonVertical {
                private static readonly int part = 3;
 

                private static VisualStyleElement normal; 
 
                public static VisualStyleElement Normal {
                    get { 
                        if (normal == null) {
                            normal = new VisualStyleElement(className, part, 1);
                        }
 
                        return normal;
                    } 
                } 

                private static VisualStyleElement hot; 

                public static VisualStyleElement Hot {
                    get {
                        if (hot == null) { 
                            hot = new VisualStyleElement(className, part, 2);
                        } 
 
                        return hot;
                    } 
                }

                private static VisualStyleElement pressed;
 
                public static VisualStyleElement Pressed {
                    get { 
                        if (pressed == null) { 
                            pressed = new VisualStyleElement(className, part, 3);
                        } 

                        return pressed;
                    }
                } 

                private static VisualStyleElement disabled; 
 
                public static VisualStyleElement Disabled {
                    get { 
                        if (disabled == null) {
                            disabled = new VisualStyleElement(className, part, 4);
                        }
 
                        return disabled;
                    } 
                } 
            }
 
            public static class RightTrackHorizontal {
                private static readonly int part = 4;

 
                private static VisualStyleElement normal;
 
                public static VisualStyleElement Normal { 
                    get {
                        if (normal == null) { 
                            normal = new VisualStyleElement(className, part, 1);
                        }

                        return normal; 
                    }
                } 
 
                private static VisualStyleElement hot;
 
                public static VisualStyleElement Hot {
                    get {
                        if (hot == null) {
                            hot = new VisualStyleElement(className, part, 2); 
                        }
 
                        return hot; 
                    }
                } 

                private static VisualStyleElement pressed;

                public static VisualStyleElement Pressed { 
                    get {
                        if (pressed == null) { 
                            pressed = new VisualStyleElement(className, part, 3); 
                        }
 
                        return pressed;
                    }
                }
 
                private static VisualStyleElement disabled;
 
                public static VisualStyleElement Disabled { 
                    get {
                        if (disabled == null) { 
                            disabled = new VisualStyleElement(className, part, 4);
                        }

                        return disabled; 
                    }
                } 
            } 

            public static class LeftTrackHorizontal { 
                private static readonly int part = 5;


                private static VisualStyleElement normal; 

                public static VisualStyleElement Normal { 
                    get { 
                        if (normal == null) {
                            normal = new VisualStyleElement(className, part, 1); 
                        }

                        return normal;
                    } 
                }
 
                private static VisualStyleElement hot; 

                public static VisualStyleElement Hot { 
                    get {
                        if (hot == null) {
                            hot = new VisualStyleElement(className, part, 2);
                        } 

                        return hot; 
                    } 
                }
 
                private static VisualStyleElement pressed;

                public static VisualStyleElement Pressed {
                    get { 
                        if (pressed == null) {
                            pressed = new VisualStyleElement(className, part, 3); 
                        } 

                        return pressed; 
                    }
                }

                private static VisualStyleElement disabled; 

                public static VisualStyleElement Disabled { 
                    get { 
                        if (disabled == null) {
                            disabled = new VisualStyleElement(className, part, 4); 
                        }

                        return disabled;
                    } 
                }
            } 
 
            public static class LowerTrackVertical {
                private static readonly int part = 6; 


                private static VisualStyleElement normal;
 
                public static VisualStyleElement Normal {
                    get { 
                        if (normal == null) { 
                            normal = new VisualStyleElement(className, part, 1);
                        } 

                        return normal;
                    }
                } 

                private static VisualStyleElement hot; 
 
                public static VisualStyleElement Hot {
                    get { 
                        if (hot == null) {
                            hot = new VisualStyleElement(className, part, 2);
                        }
 
                        return hot;
                    } 
                } 

                private static VisualStyleElement pressed; 

                public static VisualStyleElement Pressed {
                    get {
                        if (pressed == null) { 
                            pressed = new VisualStyleElement(className, part, 3);
                        } 
 
                        return pressed;
                    } 
                }

                private static VisualStyleElement disabled;
 
                public static VisualStyleElement Disabled {
                    get { 
                        if (disabled == null) { 
                            disabled = new VisualStyleElement(className, part, 4);
                        } 

                        return disabled;
                    }
                } 
            }
 
            public static class UpperTrackVertical { 
                private static readonly int part = 7;
 

                private static VisualStyleElement normal;

                public static VisualStyleElement Normal { 
                    get {
                        if (normal == null) { 
                            normal = new VisualStyleElement(className, part, 1); 
                        }
 
                        return normal;
                    }
                }
 
                private static VisualStyleElement hot;
 
                public static VisualStyleElement Hot { 
                    get {
                        if (hot == null) { 
                            hot = new VisualStyleElement(className, part, 2);
                        }

                        return hot; 
                    }
                } 
 
                private static VisualStyleElement pressed;
 
                public static VisualStyleElement Pressed {
                    get {
                        if (pressed == null) {
                            pressed = new VisualStyleElement(className, part, 3); 
                        }
 
                        return pressed; 
                    }
                } 

                private static VisualStyleElement disabled;

                public static VisualStyleElement Disabled { 
                    get {
                        if (disabled == null) { 
                            disabled = new VisualStyleElement(className, part, 4); 
                        }
 
                        return disabled;
                    }
                }
            } 

            public static class GripperHorizontal { 
                private static readonly int part = 8; 

 
                private static VisualStyleElement normal;

                public static VisualStyleElement Normal {
                    get { 
                        if (normal == null) {
                            normal = new VisualStyleElement(className, part, 0); 
                        } 

                        return normal; 
                    }
                }
            }
 
            public static class GripperVertical {
                private static readonly int part = 9; 
 

                private static VisualStyleElement normal; 

                public static VisualStyleElement Normal {
                    get {
                        if (normal == null) { 
                            normal = new VisualStyleElement(className, part, 0);
                        } 
 
                        return normal;
                    } 
                }
            }

            public static class SizeBox { 
                private static readonly int part = 10;
 
 
                private static VisualStyleElement rightalign;
 
                public static VisualStyleElement RightAlign {
                    get {
                        if (rightalign == null) {
                            rightalign = new VisualStyleElement(className, part, 1); 
                        }
 
                        return rightalign; 
                    }
                } 

                private static VisualStyleElement leftalign;

                public static VisualStyleElement LeftAlign { 
                    get {
                        if (leftalign == null) { 
                            leftalign = new VisualStyleElement(className, part, 2); 
                        }
 
                        return leftalign;
                    }
                }
            } 
        } // END SCROLLBAR
 
        public static class Tab { 
            private static readonly string className = "TAB";
 
            public static class TabItem {
                private static readonly int part = 1;

 
                private static VisualStyleElement normal;
 
                public static VisualStyleElement Normal { 
                    get {
                        if (normal == null) { 
                            normal = new VisualStyleElement(className, part, 1);
                        }

                        return normal; 
                    }
                } 
 
                private static VisualStyleElement hot;
 
                public static VisualStyleElement Hot {
                    get {
                        if (hot == null) {
                            hot = new VisualStyleElement(className, part, 2); 
                        }
 
                        return hot; 
                    }
                } 

                private static VisualStyleElement pressed;

                public static VisualStyleElement Pressed { 
                    get {
                        if (pressed == null) { 
                            pressed = new VisualStyleElement(className, part, 3); 
                        }
 
                        return pressed;
                    }
                }
 
                private static VisualStyleElement disabled;
 
                public static VisualStyleElement Disabled { 
                    get {
                        if (disabled == null) { 
                            disabled = new VisualStyleElement(className, part, 4);
                        }

                        return disabled; 
                    }
                } 
            } 

            public static class TabItemLeftEdge { 
                private static readonly int part = 2;


                private static VisualStyleElement normal; 

                public static VisualStyleElement Normal { 
                    get { 
                        if (normal == null) {
                            normal = new VisualStyleElement(className, part, 1); 
                        }

                        return normal;
                    } 
                }
 
                private static VisualStyleElement hot; 

                public static VisualStyleElement Hot { 
                    get {
                        if (hot == null) {
                            hot = new VisualStyleElement(className, part, 2);
                        } 

                        return hot; 
                    } 
                }
 
                private static VisualStyleElement pressed;

                public static VisualStyleElement Pressed {
                    get { 
                        if (pressed == null) {
                            pressed = new VisualStyleElement(className, part, 3); 
                        } 

                        return pressed; 
                    }
                }

                private static VisualStyleElement disabled; 

                public static VisualStyleElement Disabled { 
                    get { 
                        if (disabled == null) {
                            disabled = new VisualStyleElement(className, part, 4); 
                        }

                        return disabled;
                    } 
                }
            } 
 
            public static class TabItemRightEdge {
                private static readonly int part = 3; 


                private static VisualStyleElement normal;
 
                public static VisualStyleElement Normal {
                    get { 
                        if (normal == null) { 
                            normal = new VisualStyleElement(className, part, 1);
                        } 

                        return normal;
                    }
                } 

                private static VisualStyleElement hot; 
 
                public static VisualStyleElement Hot {
                    get { 
                        if (hot == null) {
                            hot = new VisualStyleElement(className, part, 2);
                        }
 
                        return hot;
                    } 
                } 

                private static VisualStyleElement pressed; 

                public static VisualStyleElement Pressed {
                    get {
                        if (pressed == null) { 
                            pressed = new VisualStyleElement(className, part, 3);
                        } 
 
                        return pressed;
                    } 
                }

                private static VisualStyleElement disabled;
 
                public static VisualStyleElement Disabled {
                    get { 
                        if (disabled == null) { 
                            disabled = new VisualStyleElement(className, part, 4);
                        } 

                        return disabled;
                    }
                } 
            }
 
            public static class TabItemBothEdges { 
                private static readonly int part = 4;
 

                private static VisualStyleElement normal;

                public static VisualStyleElement Normal { 
                    get {
                        if (normal == null) { 
                            normal = new VisualStyleElement(className, part, 0); 
                        }
 
                        return normal;
                    }
                }
            } 

            public static class TopTabItem { 
                private static readonly int part = 5; 

 
                private static VisualStyleElement normal;

                public static VisualStyleElement Normal {
                    get { 
                        if (normal == null) {
                            normal = new VisualStyleElement(className, part, 1); 
                        } 

                        return normal; 
                    }
                }

                private static VisualStyleElement hot; 

                public static VisualStyleElement Hot { 
                    get { 
                        if (hot == null) {
                            hot = new VisualStyleElement(className, part, 2); 
                        }

                        return hot;
                    } 
                }
 
                private static VisualStyleElement pressed; 

                public static VisualStyleElement Pressed { 
                    get {
                        if (pressed == null) {
                            pressed = new VisualStyleElement(className, part, 3);
                        } 

                        return pressed; 
                    } 
                }
 
                private static VisualStyleElement disabled;

                public static VisualStyleElement Disabled {
                    get { 
                        if (disabled == null) {
                            disabled = new VisualStyleElement(className, part, 4); 
                        } 

                        return disabled; 
                    }
                }

            } 

            public static class TopTabItemLeftEdge { 
                private static readonly int part = 6; 

 
                private static VisualStyleElement normal;

                public static VisualStyleElement Normal {
                    get { 
                        if (normal == null) {
                            normal = new VisualStyleElement(className, part, 1); 
                        } 

                        return normal; 
                    }
                }

                private static VisualStyleElement hot; 

                public static VisualStyleElement Hot { 
                    get { 
                        if (hot == null) {
                            hot = new VisualStyleElement(className, part, 2); 
                        }

                        return hot;
                    } 
                }
 
                private static VisualStyleElement pressed; 

                public static VisualStyleElement Pressed { 
                    get {
                        if (pressed == null) {
                            pressed = new VisualStyleElement(className, part, 3);
                        } 

                        return pressed; 
                    } 
                }
 
                private static VisualStyleElement disabled;

                public static VisualStyleElement Disabled {
                    get { 
                        if (disabled == null) {
                            disabled = new VisualStyleElement(className, part, 4); 
                        } 

                        return disabled; 
                    }
                }
            }
 
            public static class TopTabItemRightEdge {
                private static readonly int part = 7; 
 

                private static VisualStyleElement normal; 

                public static VisualStyleElement Normal {
                    get {
                        if (normal == null) { 
                            normal = new VisualStyleElement(className, part, 1);
                        } 
 
                        return normal;
                    } 
                }

                private static VisualStyleElement hot;
 
                public static VisualStyleElement Hot {
                    get { 
                        if (hot == null) { 
                            hot = new VisualStyleElement(className, part, 2);
                        } 

                        return hot;
                    }
                } 

                private static VisualStyleElement pressed; 
 
                public static VisualStyleElement Pressed {
                    get { 
                        if (pressed == null) {
                            pressed = new VisualStyleElement(className, part, 3);
                        }
 
                        return pressed;
                    } 
                } 

                private static VisualStyleElement disabled; 

                public static VisualStyleElement Disabled {
                    get {
                        if (disabled == null) { 
                            disabled = new VisualStyleElement(className, part, 4);
                        } 
 
                        return disabled;
                    } 
                }

            }
 
            public static class TopTabItemBothEdges {
                private static readonly int part = 8; 
 

                private static VisualStyleElement normal; 

                public static VisualStyleElement Normal {
                    get {
                        if (normal == null) { 
                            normal = new VisualStyleElement(className, part, 0);
                        } 
 
                        return normal;
                    } 
                }
            }

            public static class Pane { 
                private static readonly int part = 9;
 
 
                private static VisualStyleElement normal;
 
                public static VisualStyleElement Normal {
                    get {
                        if (normal == null) {
                            normal = new VisualStyleElement(className, part, 0); 
                        }
 
                        return normal; 
                    }
                } 

            }

            public static class Body { 
                private static readonly int part = 10;
 
 
                private static VisualStyleElement normal;
 
                public static VisualStyleElement Normal {
                    get {
                        if (normal == null) {
                            normal = new VisualStyleElement(className, part, 0); 
                        }
 
                        return normal; 
                    }
                } 

            }
        } // END TAB
 
        public static class ExplorerBar {
            private static readonly string className = "EXPLORERBAR"; 
 
            public static class HeaderBackground {
                private static readonly int part = 1; 


                private static VisualStyleElement normal;
 
                public static VisualStyleElement Normal {
                    get { 
                        if (normal == null) { 
                            normal = new VisualStyleElement(className, part, 0);
                        } 

                        return normal;
                    }
                } 

            } 
 
            public static class HeaderClose {
                private static readonly int part = 2; 


                private static VisualStyleElement normal;
 
                public static VisualStyleElement Normal {
                    get { 
                        if (normal == null) { 
                            normal = new VisualStyleElement(className, part, 1);
                        } 

                        return normal;
                    }
                } 

                private static VisualStyleElement hot; 
 
                public static VisualStyleElement Hot {
                    get { 
                        if (hot == null) {
                            hot = new VisualStyleElement(className, part, 2);
                        }
 
                        return hot;
                    } 
                } 

                private static VisualStyleElement pressed; 

                public static VisualStyleElement Pressed {
                    get {
                        if (pressed == null) { 
                            pressed = new VisualStyleElement(className, part, 3);
                        } 
 
                        return pressed;
                    } 
                }
            }

            public static class HeaderPin { 
                private static readonly int part = 3;
 
 
                private static VisualStyleElement normal;
 
                public static VisualStyleElement Normal {
                    get {
                        if (normal == null) {
                            normal = new VisualStyleElement(className, part, 1); 
                        }
 
                        return normal; 
                    }
                } 

                private static VisualStyleElement hot;

                public static VisualStyleElement Hot { 
                    get {
                        if (hot == null) { 
                            hot = new VisualStyleElement(className, part, 2); 
                        }
 
                        return hot;
                    }
                }
 
                private static VisualStyleElement pressed;
 
                public static VisualStyleElement Pressed { 
                    get {
                        if (pressed == null) { 
                            pressed = new VisualStyleElement(className, part, 3);
                        }

                        return pressed; 
                    }
                } 
 
                private static VisualStyleElement selectednormal;
 
                public static VisualStyleElement SelectedNormal {
                    get {
                        if (selectednormal == null) {
                            selectednormal = new VisualStyleElement(className, part, 4); 
                        }
 
                        return selectednormal; 
                    }
                } 

                private static VisualStyleElement selectedhot;

                public static VisualStyleElement SelectedHot { 
                    get {
                        if (selectedhot == null) { 
                            selectedhot = new VisualStyleElement(className, part, 5); 
                        }
 
                        return selectedhot;
                    }
                }
 
                private static VisualStyleElement selectedpressed;
 
                public static VisualStyleElement SelectedPressed { 
                    get {
                        if (selectedpressed == null) { 
                            selectedpressed = new VisualStyleElement(className, part, 6);
                        }

                        return selectedpressed; 
                    }
                } 
            } 

            public static class IEBarMenu { 
                private static readonly int part = 4;


                private static VisualStyleElement normal; 

                public static VisualStyleElement Normal { 
                    get { 
                        if (normal == null) {
                            normal = new VisualStyleElement(className, part, 1); 
                        }

                        return normal;
                    } 
                }
 
                private static VisualStyleElement hot; 

                public static VisualStyleElement Hot { 
                    get {
                        if (hot == null) {
                            hot = new VisualStyleElement(className, part, 2);
                        } 

                        return hot; 
                    } 
                }
 
                private static VisualStyleElement pressed;

                public static VisualStyleElement Pressed {
                    get { 
                        if (pressed == null) {
                            pressed = new VisualStyleElement(className, part, 3); 
                        } 

                        return pressed; 
                    }
                }
            }
 
            public static class NormalGroupBackground {
                private static readonly int part = 5; 
 

                private static VisualStyleElement normal; 

                public static VisualStyleElement Normal {
                    get {
                        if (normal == null) { 
                            normal = new VisualStyleElement(className, part, 0);
                        } 
 
                        return normal;
                    } 
                }

            }
 
            public static class NormalGroupCollapse {
                private static readonly int part = 6; 
 

                private static VisualStyleElement normal; 

                public static VisualStyleElement Normal {
                    get {
                        if (normal == null) { 
                            normal = new VisualStyleElement(className, part, 1);
                        } 
 
                        return normal;
                    } 
                }

                private static VisualStyleElement hot;
 
                public static VisualStyleElement Hot {
                    get { 
                        if (hot == null) { 
                            hot = new VisualStyleElement(className, part, 2);
                        } 

                        return hot;
                    }
                } 

                private static VisualStyleElement pressed; 
 
                public static VisualStyleElement Pressed {
                    get { 
                        if (pressed == null) {
                            pressed = new VisualStyleElement(className, part, 3);
                        }
 
                        return pressed;
                    } 
                } 
            }
 
            public static class NormalGroupExpand {
                private static readonly int part = 7;

 
                private static VisualStyleElement normal;
 
                public static VisualStyleElement Normal { 
                    get {
                        if (normal == null) { 
                            normal = new VisualStyleElement(className, part, 1);
                        }

                        return normal; 
                    }
                } 
 
                private static VisualStyleElement hot;
 
                public static VisualStyleElement Hot {
                    get {
                        if (hot == null) {
                            hot = new VisualStyleElement(className, part, 2); 
                        }
 
                        return hot; 
                    }
                } 

                private static VisualStyleElement pressed;

                public static VisualStyleElement Pressed { 
                    get {
                        if (pressed == null) { 
                            pressed = new VisualStyleElement(className, part, 3); 
                        }
 
                        return pressed;
                    }
                }
            } 

 
            public static class NormalGroupHead { 
                private static readonly int part = 8;
 

                private static VisualStyleElement normal;

                public static VisualStyleElement Normal { 
                    get {
                        if (normal == null) { 
                            normal = new VisualStyleElement(className, part, 0); 
                        }
 
                        return normal;
                    }
                }
            } 

 
            public static class SpecialGroupBackground { 
                private static readonly int part = 9;
 

                private static VisualStyleElement normal;

                public static VisualStyleElement Normal { 
                    get {
                        if (normal == null) { 
                            normal = new VisualStyleElement(className, part, 0); 
                        }
 
                        return normal;
                    }
                }
 
            }
 
 
            public static class SpecialGroupCollapse {
                private static readonly int part = 10; 


                private static VisualStyleElement normal;
 
                public static VisualStyleElement Normal {
                    get { 
                        if (normal == null) { 
                            normal = new VisualStyleElement(className, part, 1);
                        } 

                        return normal;
                    }
                } 

                private static VisualStyleElement hot; 
 
                public static VisualStyleElement Hot {
                    get { 
                        if (hot == null) {
                            hot = new VisualStyleElement(className, part, 2);
                        }
 
                        return hot;
                    } 
                } 

                private static VisualStyleElement pressed; 

                public static VisualStyleElement Pressed {
                    get {
                        if (pressed == null) { 
                            pressed = new VisualStyleElement(className, part, 3);
                        } 
 
                        return pressed;
                    } 
                }
            }

 
            public static class SpecialGroupExpand {
                private static readonly int part = 11; 
 

                private static VisualStyleElement normal; 

                public static VisualStyleElement Normal {
                    get {
                        if (normal == null) { 
                            normal = new VisualStyleElement(className, part, 1);
                        } 
 
                        return normal;
                    } 
                }

                private static VisualStyleElement hot;
 
                public static VisualStyleElement Hot {
                    get { 
                        if (hot == null) { 
                            hot = new VisualStyleElement(className, part, 2);
                        } 

                        return hot;
                    }
                } 

                private static VisualStyleElement pressed; 
 
                public static VisualStyleElement Pressed {
                    get { 
                        if (pressed == null) {
                            pressed = new VisualStyleElement(className, part, 3);
                        }
 
                        return pressed;
                    } 
                } 
            }
 

            public static class SpecialGroupHead {
                private static readonly int part = 12;
 

                private static VisualStyleElement normal; 
 
                public static VisualStyleElement Normal {
                    get { 
                        if (normal == null) {
                            normal = new VisualStyleElement(className, part, 0);
                        }
 
                        return normal;
                    } 
                } 

            } 
        } // END EXPLORERBAR

        public static class Header {
            private static readonly string className = "HEADER"; 

            public static class Item { 
                private static readonly int part = 1; 

 
                private static VisualStyleElement normal;

                public static VisualStyleElement Normal {
                    get { 
                        if (normal == null) {
                            normal = new VisualStyleElement(className, part, 1); 
                        } 

                        return normal; 
                    }
                }

                private static VisualStyleElement hot; 

                public static VisualStyleElement Hot { 
                    get { 
                        if (hot == null) {
                            hot = new VisualStyleElement(className, part, 2); 
                        }

                        return hot;
                    } 
                }
 
                private static VisualStyleElement pressed; 

                public static VisualStyleElement Pressed { 
                    get {
                        if (pressed == null) {
                            pressed = new VisualStyleElement(className, part, 3);
                        } 

                        return pressed; 
                    } 
                }
            } 

            public static class ItemLeft {
                private static readonly int part = 2;
 

                private static VisualStyleElement normal; 
 
                public static VisualStyleElement Normal {
                    get { 
                        if (normal == null) {
                            normal = new VisualStyleElement(className, part, 1);
                        }
 
                        return normal;
                    } 
                } 

                private static VisualStyleElement hot; 

                public static VisualStyleElement Hot {
                    get {
                        if (hot == null) { 
                            hot = new VisualStyleElement(className, part, 2);
                        } 
 
                        return hot;
                    } 
                }

                private static VisualStyleElement pressed;
 
                public static VisualStyleElement Pressed {
                    get { 
                        if (pressed == null) { 
                            pressed = new VisualStyleElement(className, part, 3);
                        } 

                        return pressed;
                    }
                } 
            }
 
            public static class ItemRight { 
                private static readonly int part = 3;
 

                private static VisualStyleElement normal;

                public static VisualStyleElement Normal { 
                    get {
                        if (normal == null) { 
                            normal = new VisualStyleElement(className, part, 1); 
                        }
 
                        return normal;
                    }
                }
 
                private static VisualStyleElement hot;
 
                public static VisualStyleElement Hot { 
                    get {
                        if (hot == null) { 
                            hot = new VisualStyleElement(className, part, 2);
                        }

                        return hot; 
                    }
                } 
 
                private static VisualStyleElement pressed;
 
                public static VisualStyleElement Pressed {
                    get {
                        if (pressed == null) {
                            pressed = new VisualStyleElement(className, part, 3); 
                        }
 
                        return pressed; 
                    }
                } 
            }

            public static class SortArrow {
                private static readonly int part = 4; 

 
                private static VisualStyleElement sortedup; 

                public static VisualStyleElement SortedUp { 
                    get {
                        if (sortedup == null) {
                            sortedup = new VisualStyleElement(className, part, 1);
                        } 

                        return sortedup; 
                    } 
                }
 

                private static VisualStyleElement sorteddown;

                public static VisualStyleElement SortedDown { 
                    get {
                        if (sorteddown == null) { 
                            sorteddown = new VisualStyleElement(className, part, 2); 
                        }
 
                        return sorteddown;
                    }
                }
            } 
        } // END HEADER
 
        public static class ListView { 
            private static readonly string className = "LISTVIEW";
 
            public static class Item {
                private static readonly int part = 1;

 
                private static VisualStyleElement normal;
 
                public static VisualStyleElement Normal { 
                    get {
                        if (normal == null) { 
                            normal = new VisualStyleElement(className, part, 1);
                        }

                        return normal; 
                    }
                } 
 
                private static VisualStyleElement hot;
 
                public static VisualStyleElement Hot {
                    get {
                        if (hot == null) {
                            hot = new VisualStyleElement(className, part, 2); 
                        }
 
                        return hot; 
                    }
                } 

                private static VisualStyleElement selected;

                public static VisualStyleElement Selected { 
                    get {
                        if (selected == null) { 
                            selected = new VisualStyleElement(className, part, 3); 
                        }
 
                        return selected;
                    }
                }
 
                private static VisualStyleElement disabled;
 
                public static VisualStyleElement Disabled { 
                    get {
                        if (disabled == null) { 
                            disabled = new VisualStyleElement(className, part, 4);
                        }

                        return disabled; 
                    }
                } 
 
                private static VisualStyleElement selectednotfocus;
 
                public static VisualStyleElement SelectedNotFocus {
                    get {
                        if (selectednotfocus == null) {
                            selectednotfocus = new VisualStyleElement(className, part, 5); 
                        }
 
                        return selectednotfocus; 
                    }
                } 
            }

            public static class Group {
                private static readonly int part = 2; 

 
                private static VisualStyleElement normal; 

                public static VisualStyleElement Normal { 
                    get {
                        if (normal == null) {
                            normal = new VisualStyleElement(className, part, 0);
                        } 

                        return normal; 
                    } 
                }
            } 

            public static class Detail {
                private static readonly int part = 3;
 

                private static VisualStyleElement normal; 
 
                public static VisualStyleElement Normal {
                    get { 
                        if (normal == null) {
                            normal = new VisualStyleElement(className, part, 0);
                        }
 
                        return normal;
                                    } 
                } 
            }
 
            public static class SortedDetail {
                private static readonly int part = 4;

 
                private static VisualStyleElement normal;
 
                public static VisualStyleElement Normal { 
                    get {
                        if (normal == null) { 
                            normal = new VisualStyleElement(className, part, 0);
                        }

                        return normal; 
                                    }
                } 
            } 

            public static class EmptyText { 
                private static readonly int part = 5;


                private static VisualStyleElement normal; 

                public static VisualStyleElement Normal { 
                    get { 
                        if (normal == null) {
                            normal = new VisualStyleElement(className, part, 0); 
                        }

                        return normal;
                                    } 
                }
 
            } 
        } // END LISTVIEW
 
        public static class MenuBand {
            private static readonly string className = "MENUBAND";

            public static class NewApplicationButton { 
                private static readonly int part = 1;
 
 
                private static VisualStyleElement normal;
 
                public static VisualStyleElement Normal {
                    get {
                        if (normal == null) {
                            normal = new VisualStyleElement(className, part, 1); 
                        }
 
                        return normal; 
                    }
                } 

                private static VisualStyleElement hot;

                public static VisualStyleElement Hot { 
                    get {
                        if (hot == null) { 
                            hot = new VisualStyleElement(className, part, 2); 
                        }
 
                        return hot;
                    }
                }
 
                private static VisualStyleElement pressed;
 
                public static VisualStyleElement Pressed { 
                    get {
                        if (pressed == null) { 
                            pressed = new VisualStyleElement(className, part, 3);
                        }

                        return pressed; 
                    }
                } 
 
                private static VisualStyleElement disabled;
 
                public static VisualStyleElement Disabled {
                    get {
                        if (disabled == null) {
                            disabled = new VisualStyleElement(className, part, 4); 
                        }
 
                        return disabled; 
                    }
                } 

                private static VisualStyleElement _checked;

                public static VisualStyleElement Checked { 
                    get {
                        if (_checked == null) { 
                            _checked = new VisualStyleElement(className, part, 5); 
                        }
 
                        return _checked;
                    }
                }
 
                private static VisualStyleElement hotchecked;
 
                public static VisualStyleElement HotChecked { 
                    get {
                        if (hotchecked == null) { 
                            hotchecked = new VisualStyleElement(className, part, 6);
                        }

                        return hotchecked; 
                    }
                } 
            } 

 
            public static class Separator {
                private static readonly int part = 2;

 
                private static VisualStyleElement normal;
 
                public static VisualStyleElement Normal { 
                    get {
                        if (normal == null) { 
                            normal = new VisualStyleElement(className, part, 0);
                        }

                        return normal; 
                    }
                } 
            } 
        } // END MENUBAND
 
        public static class Menu {
            private static readonly string className = "MENU";

            public static class Item { 
                private static readonly int part = 1;
 
 
                private static VisualStyleElement normal;
 
                public static VisualStyleElement Normal {
                    get {
                        if (normal == null) {
                            normal = new VisualStyleElement(className, part, 1); 
                        }
 
                        return normal; 
                    }
                } 

                private static VisualStyleElement selected;

                public static VisualStyleElement Selected { 
                    get {
                        if (selected == null) { 
                            selected = new VisualStyleElement(className, part, 2); 
                        }
 
                        return selected;
                    }
                }
 
                private static VisualStyleElement demoted;
 
                public static VisualStyleElement Demoted { 
                    get {
                        if (demoted == null) { 
                            demoted = new VisualStyleElement(className, part, 3);
                        }

                        return demoted; 
                    }
                } 
            } 

            public static class DropDown { 
                private static readonly int part = 2;


                private static VisualStyleElement normal; 

                public static VisualStyleElement Normal { 
                    get { 
                        if (normal == null) {
                            normal = new VisualStyleElement(className, part, 0); 
                        }

                        return normal;
                    } 
                }
            } 
 
            public static class BarItem {
                private static readonly int part = 3; 


                private static VisualStyleElement normal;
 
                public static VisualStyleElement Normal {
                    get { 
                        if (normal == null) { 
                            normal = new VisualStyleElement(className, part, 0);
                        } 

                        return normal;
                    }
                } 
            }
 
            public static class BarDropDown { 
                private static readonly int part = 4;
 

                private static VisualStyleElement normal;

                public static VisualStyleElement Normal { 
                    get {
                        if (normal == null) { 
                            normal = new VisualStyleElement(className, part, 0); 
                        }
 
                        return normal;
                    }
                }
            } 

            public static class Chevron { 
                private static readonly int part = 5; 

 
                private static VisualStyleElement normal;

                public static VisualStyleElement Normal {
                    get { 
                        if (normal == null) {
                            normal = new VisualStyleElement(className, part, 0); 
                        } 

                        return normal; 
                    }
                }
            }
 
            public static class Separator {
                private static readonly int part = 6; 
 

                private static VisualStyleElement normal; 

                public static VisualStyleElement Normal {
                    get {
                        if (normal == null) { 
                            normal = new VisualStyleElement(className, part, 0);
                        } 
 
                        return normal;
                    } 
                }
            }
        } // END MENU
 
        public static class ProgressBar {
            private static readonly string className = "PROGRESS"; 
 
            public static class Bar {
                private static readonly int part = 1; 


                private static VisualStyleElement normal;
 
                public static VisualStyleElement Normal {
                    get { 
                        if (normal == null) { 
                            normal = new VisualStyleElement(className, part, 0);
                        } 

                        return normal;
                    }
                } 
            }
 
            public static class BarVertical { 
                private static readonly int part = 2;
 

                private static VisualStyleElement normal;

                public static VisualStyleElement Normal { 
                    get {
                        if (normal == null) { 
                            normal = new VisualStyleElement(className, part, 0); 
                        }
 
                        return normal;
                    }
                }
            } 

            public static class Chunk { 
                private static readonly int part = 3; 

 
                private static VisualStyleElement normal;

                public static VisualStyleElement Normal {
                    get { 
                        if (normal == null) {
                            normal = new VisualStyleElement(className, part, 0); 
                        } 

                        return normal; 
                    }
                }
            }
 
            public static class ChunkVertical {
                private static readonly int part = 4; 
 

                private static VisualStyleElement normal; 

                public static VisualStyleElement Normal {
                    get {
                        if (normal == null) { 
                            normal = new VisualStyleElement(className, part, 0);
                        } 
 
                        return normal;
                    } 
                }
            }
        } // END PROGRESSBAR
 
        public static class Rebar {
            private static readonly string className = "REBAR"; 
 
            public static class Gripper {
                private static readonly int part = 1; 


                private static VisualStyleElement normal;
 
                public static VisualStyleElement Normal {
                    get { 
                        if (normal == null) { 
                            normal = new VisualStyleElement(className, part, 0);
                        } 

                        return normal;
                    }
                } 
            }
 
            public static class GripperVertical { 
                private static readonly int part = 2;
 

                private static VisualStyleElement normal;

                public static VisualStyleElement Normal { 
                    get {
                        if (normal == null) { 
                            normal = new VisualStyleElement(className, part, 0); 
                        }
 
                        return normal;
                    }
                }
            } 

            public static class Band { 
                private static readonly int part = 3; 

 
                private static VisualStyleElement normal;

                public static VisualStyleElement Normal {
                    get { 
                        if (normal == null) {
                            normal = new VisualStyleElement(className, part, 0); 
                        } 

                        return normal; 
                    }
                }

            } 

            public static class Chevron { 
                private static readonly int part = 4; 

 
                private static VisualStyleElement normal;

                public static VisualStyleElement Normal {
                    get { 
                        if (normal == null) {
                            normal = new VisualStyleElement(className, part, 1); 
                        } 

                        return normal; 
                    }
                }

                private static VisualStyleElement hot; 

                public static VisualStyleElement Hot { 
                    get { 
                        if (hot == null) {
                            hot = new VisualStyleElement(className, part, 2); 
                        }

                        return hot;
                    } 
                }
 
                private static VisualStyleElement pressed; 

                public static VisualStyleElement Pressed { 
                    get {
                        if (pressed == null) {
                            pressed = new VisualStyleElement(className, part, 3);
                        } 

                        return pressed; 
                    } 
                }
            } 

            public static class ChevronVertical {
                private static readonly int part = 5;
 

                private static VisualStyleElement normal; 
 
                public static VisualStyleElement Normal {
                    get { 
                        if (normal == null) {
                            normal = new VisualStyleElement(className, part, 1);
                        }
 
                        return normal;
                    } 
                } 

                private static VisualStyleElement hot; 

                public static VisualStyleElement Hot {
                    get {
                        if (hot == null) { 
                            hot = new VisualStyleElement(className, part, 2);
                        } 
 
                        return hot;
                    } 
                }

                private static VisualStyleElement pressed;
 
                public static VisualStyleElement Pressed {
                    get { 
                        if (pressed == null) { 
                            pressed = new VisualStyleElement(className, part, 3);
                        } 

                        return pressed;
                    }
                } 
            }
        } // END REBAR 
 
        public static class StartPanel {
            private static readonly string className = "STARTPANEL"; 

            public static class UserPane {
                private static readonly int part = 1;
 

                private static VisualStyleElement normal; 
 
                public static VisualStyleElement Normal {
                    get { 
                        if (normal == null) {
                            normal = new VisualStyleElement(className, part, 0);
                        }
 
                        return normal;
                    } 
                } 
            }
 
            public static class MorePrograms {
                private static readonly int part = 2;

 
                private static VisualStyleElement normal;
 
                public static VisualStyleElement Normal { 
                    get {
                        if (normal == null) { 
                            normal = new VisualStyleElement(className, part, 0);
                        }

                        return normal; 
                    }
                } 
            } 

            public static class MoreProgramsArrow { 
                private static readonly int part = 3;


                private static VisualStyleElement normal; 

                public static VisualStyleElement Normal { 
                    get { 
                        if (normal == null) {
                            normal = new VisualStyleElement(className, part, 1); 
                        }

                        return normal;
                    } 
                }
 
                private static VisualStyleElement hot; 

                public static VisualStyleElement Hot { 
                    get {
                        if (hot == null) {
                            hot = new VisualStyleElement(className, part, 2);
                        } 

                        return hot; 
                    } 
                }
 
                private static VisualStyleElement pressed;

                public static VisualStyleElement Pressed {
                    get { 
                        if (pressed == null) {
                            pressed = new VisualStyleElement(className, part, 3); 
                        } 

                        return pressed; 
                    }
                }
            }
 
            public static class ProgList {
                private static readonly int part = 4; 
 

                private static VisualStyleElement normal; 

                public static VisualStyleElement Normal {
                    get {
                        if (normal == null) { 
                            normal = new VisualStyleElement(className, part, 0);
                        } 
 
                        return normal;
                    } 
                }
            }

            public static class ProgListSeparator { 
                private static readonly int part = 5;
 
 
                private static VisualStyleElement normal;
 
                public static VisualStyleElement Normal {
                    get {
                        if (normal == null) {
                            normal = new VisualStyleElement(className, part, 0); 
                        }
 
                        return normal; 
                    }
                } 
            }

            public static class PlaceList {
                private static readonly int part = 6; 

 
                private static VisualStyleElement normal; 

                public static VisualStyleElement Normal { 
                    get {
                        if (normal == null) {
                            normal = new VisualStyleElement(className, part, 0);
                        } 

                        return normal; 
                    } 
                }
            } 

            public static class PlaceListSeparator {
                private static readonly int part = 7;
 

                private static VisualStyleElement normal; 
 
                public static VisualStyleElement Normal {
                    get { 
                        if (normal == null) {
                            normal = new VisualStyleElement(className, part, 0);
                        }
 
                        return normal;
                    } 
                } 
            }
 
            //The verb, not the noun.  Matches "Log Off" button.
            [SuppressMessage("Microsoft.Naming", "CA1702:CompoundWordsShouldBeCasedCorrectly")]
            public static class LogOff
            { 
                private static readonly int part = 8;
 
 
                private static VisualStyleElement normal;
 
                public static VisualStyleElement Normal {
                    get {
                        if (normal == null) {
                            normal = new VisualStyleElement(className, part, 0); 
                        }
 
                        return normal; 
                    }
                } 
            }

            //The verb, not the noun.  Matches "Log Off" button.
            [SuppressMessage("Microsoft.Naming", "CA1702:CompoundWordsShouldBeCasedCorrectly")] 
            public static class LogOffButtons
            { 
                private static readonly int part = 9; 

 
                private static VisualStyleElement normal;

                public static VisualStyleElement Normal {
                    get { 
                        if (normal == null) {
                            normal = new VisualStyleElement(className, part, 1); 
                        } 

                        return normal; 
                    }
                }

                private static VisualStyleElement hot; 

                public static VisualStyleElement Hot { 
                    get { 
                        if (hot == null) {
                            hot = new VisualStyleElement(className, part, 2); 
                        }

                        return hot;
                    } 
                }
 
                private static VisualStyleElement pressed; 

                public static VisualStyleElement Pressed { 
                    get {
                        if (pressed == null) {
                            pressed = new VisualStyleElement(className, part, 3);
                        } 

                        return pressed; 
                    } 
                }
            } 

            public static class UserPicture {
                private static readonly int part = 10;
 

                private static VisualStyleElement normal; 
 
                public static VisualStyleElement Normal {
                    get { 
                        if (normal == null) {
                            normal = new VisualStyleElement(className, part, 0);
                        }
 
                        return normal;
                    } 
                } 
            }
 
            public static class Preview {
                private static readonly int part = 11;

 
                private static VisualStyleElement normal;
 
                public static VisualStyleElement Normal { 
                    get {
                        if (normal == null) { 
                            normal = new VisualStyleElement(className, part, 0);
                        }

                        return normal; 
                    }
                } 
            } 
        } // END STARTPANEL
 
        public static class Status {
            private static readonly string className = "STATUS";

            public static class Bar { 
                private static readonly int part;
 
 
                private static VisualStyleElement normal;
 
                public static VisualStyleElement Normal {
                    get {
                        if (normal == null) {
                            normal = new VisualStyleElement(className, part, 0); 
                        }
 
                        return normal; 
                    }
                } 
            }

            public static class Pane {
                private static readonly int part = 1; 

 
                private static VisualStyleElement normal; 

                public static VisualStyleElement Normal { 
                    get {
                        if (normal == null) {
                            normal = new VisualStyleElement(className, part, 0);
                        } 

                        return normal; 
                    } 
                }
            } 

            public static class GripperPane {
                private static readonly int part = 2;
 

                private static VisualStyleElement normal; 
 
                public static VisualStyleElement Normal {
                    get { 
                        if (normal == null) {
                            normal = new VisualStyleElement(className, part, 0);
                        }
 
                        return normal;
                    } 
                } 
            }
 
            public static class Gripper {
                private static readonly int part = 3;

 
                private static VisualStyleElement normal;
 
                public static VisualStyleElement Normal { 
                    get {
                        if (normal == null) { 
                            normal = new VisualStyleElement(className, part, 0);
                        }

                        return normal; 
                    }
                } 
            } 
        } // END STATUS
 
        public static class TaskBand {
            private static readonly string className = "TASKBAND";

            public static class GroupCount { 
                private static readonly int part = 1;
 
 
                private static VisualStyleElement normal;
 
                public static VisualStyleElement Normal {
                    get {
                        if (normal == null) {
                            normal = new VisualStyleElement(className, part, 0); 
                        }
 
                        return normal; 
                    }
                } 
            }

            public static class FlashButton {
                private static readonly int part = 2; 

 
                private static VisualStyleElement normal; 

                public static VisualStyleElement Normal { 
                    get {
                        if (normal == null) {
                            normal = new VisualStyleElement(className, part, 0);
                        } 

                        return normal; 
                    } 
                }
            } 

            public static class FlashButtonGroupMenu {
                private static readonly int part = 3;
 

                private static VisualStyleElement normal; 
 
                public static VisualStyleElement Normal {
                    get { 
                        if (normal == null) {
                            normal = new VisualStyleElement(className, part, 0);
                        }
 
                        return normal;
                    } 
                } 
            }
        } // END TASKBAND 

        public static class TaskbarClock {
            private static readonly string className = "CLOCK";
 
            public static class Time {
                private static readonly int part = 1; 
 

                private static VisualStyleElement normal; 

                public static VisualStyleElement Normal {
                    get {
                        if (normal == null) { 
                            normal = new VisualStyleElement(className, part, 1);
                        } 
 
                        return normal;
                    } 
                }
            }
        } // END TASKBARCLOCK
 
        public static class Taskbar {
            private static readonly string className = "TASKBAR"; 
 
            public static class BackgroundBottom {
                private static readonly int part = 1; 


                private static VisualStyleElement normal;
 
                public static VisualStyleElement Normal {
                    get { 
                        if (normal == null) { 
                            normal = new VisualStyleElement(className, part, 0);
                        } 

                        return normal;
                    }
                } 
            }
 
            public static class BackgroundRight { 
                private static readonly int part = 2;
 

                private static VisualStyleElement normal;

                public static VisualStyleElement Normal { 
                    get {
                        if (normal == null) { 
                            normal = new VisualStyleElement(className, part, 0); 
                        }
 
                        return normal;
                    }
                }
            } 

            public static class BackgroundTop { 
                private static readonly int part = 3; 

 
                private static VisualStyleElement normal;

                public static VisualStyleElement Normal {
                    get { 
                        if (normal == null) {
                            normal = new VisualStyleElement(className, part, 0); 
                        } 

                        return normal; 
                    }
                }
            }
 
            public static class BackgroundLeft {
                private static readonly int part = 4; 
 

                private static VisualStyleElement normal; 

                public static VisualStyleElement Normal {
                    get {
                        if (normal == null) { 
                            normal = new VisualStyleElement(className, part, 0);
                        } 
 
                        return normal;
                    } 
                }
            }

            public static class SizingBarBottom { 
                private static readonly int part = 5;
 
 
                private static VisualStyleElement normal;
 
                public static VisualStyleElement Normal {
                    get {
                        if (normal == null) {
                            normal = new VisualStyleElement(className, part, 0); 
                        }
 
                        return normal; 
                    }
                } 
            }

            public static class SizingBarRight {
                private static readonly int part = 6; 

 
                private static VisualStyleElement normal; 

                public static VisualStyleElement Normal { 
                    get {
                        if (normal == null) {
                            normal = new VisualStyleElement(className, part, 0);
                        } 

                        return normal; 
                    } 
                }
            } 

            public static class SizingBarTop {
                private static readonly int part = 7;
 

                private static VisualStyleElement normal; 
 
                public static VisualStyleElement Normal {
                    get { 
                        if (normal == null) {
                            normal = new VisualStyleElement(className, part, 0);
                        }
 
                        return normal;
                    } 
                } 
            }
 
            public static class SizingBarLeft {
                private static readonly int part = 8;

 
                private static VisualStyleElement normal;
 
                public static VisualStyleElement Normal { 
                    get {
                        if (normal == null) { 
                            normal = new VisualStyleElement(className, part, 0);
                        }

                        return normal; 
                    }
                } 
            } 
        } // END TASKBAR
 
        public static class ToolBar {
            private static readonly string className = "TOOLBAR";

            // 
            internal static class Bar {
               private static readonly int part; 
 
               private static VisualStyleElement normal;
 
               public static VisualStyleElement Normal {
                   get {
                       if (normal == null) {
                           normal = new VisualStyleElement(className, part, 0); 
                       }
 
                       return normal; 
                   }
               } 
           }

            public static class Button {
                private static readonly int part = 1; 

 
                private static VisualStyleElement normal; 

                public static VisualStyleElement Normal { 
                    get {
                        if (normal == null) {
                            normal = new VisualStyleElement(className, part, 1);
                        } 

                        return normal; 
                    } 
                }
 
                private static VisualStyleElement hot;

                public static VisualStyleElement Hot {
                    get { 
                        if (hot == null) {
                            hot = new VisualStyleElement(className, part, 2); 
                        } 

                        return hot; 
                    }
                }

                private static VisualStyleElement pressed; 

                public static VisualStyleElement Pressed { 
                    get { 
                        if (pressed == null) {
                            pressed = new VisualStyleElement(className, part, 3); 
                        }

                        return pressed;
                    } 
                }
 
                private static VisualStyleElement disabled; 

                public static VisualStyleElement Disabled { 
                    get {
                        if (disabled == null) {
                            disabled = new VisualStyleElement(className, part, 4);
                        } 

                        return disabled; 
                    } 
                }
 
                private static VisualStyleElement _checked;

                public static VisualStyleElement Checked {
                    get { 
                        if (_checked == null) {
                            _checked = new VisualStyleElement(className, part, 5); 
                        } 

                        return _checked; 
                    }
                }

                private static VisualStyleElement hotchecked; 

                public static VisualStyleElement HotChecked { 
                    get { 
                        if (hotchecked == null) {
                            hotchecked = new VisualStyleElement(className, part, 6); 
                        }

                        return hotchecked;
                    } 
                }
            } 
 
            public static class DropDownButton {
                private static readonly int part = 2; 


                private static VisualStyleElement normal;
 
                public static VisualStyleElement Normal {
                    get { 
                        if (normal == null) { 
                            normal = new VisualStyleElement(className, part, 1);
                        } 

                        return normal;
                    }
                } 

                private static VisualStyleElement hot; 
 
                public static VisualStyleElement Hot {
                    get { 
                        if (hot == null) {
                            hot = new VisualStyleElement(className, part, 2);
                        }
 
                        return hot;
                    } 
                } 

                private static VisualStyleElement pressed; 

                public static VisualStyleElement Pressed {
                    get {
                        if (pressed == null) { 
                            pressed = new VisualStyleElement(className, part, 3);
                        } 
 
                        return pressed;
                    } 
                }

                private static VisualStyleElement disabled;
 
                public static VisualStyleElement Disabled {
                    get { 
                        if (disabled == null) { 
                            disabled = new VisualStyleElement(className, part, 4);
                        } 

                        return disabled;
                    }
                } 

                private static VisualStyleElement _checked; 
 
                public static VisualStyleElement Checked {
                    get { 
                        if (_checked == null) {
                            _checked = new VisualStyleElement(className, part, 5);
                        }
 
                        return _checked;
                    } 
                } 

                private static VisualStyleElement hotchecked; 

                public static VisualStyleElement HotChecked {
                    get {
                        if (hotchecked == null) { 
                            hotchecked = new VisualStyleElement(className, part, 6);
                        } 
 
                        return hotchecked;
                    } 
                }
            }

            public static class SplitButton { 
                private static readonly int part = 3;
 
 
                private static VisualStyleElement normal;
 
                public static VisualStyleElement Normal {
                    get {
                        if (normal == null) {
                            normal = new VisualStyleElement(className, part, 1); 
                        }
 
                        return normal; 
                    }
                } 

                private static VisualStyleElement hot;

                public static VisualStyleElement Hot { 
                    get {
                        if (hot == null) { 
                            hot = new VisualStyleElement(className, part, 2); 
                        }
 
                        return hot;
                    }
                }
 
                private static VisualStyleElement pressed;
 
                public static VisualStyleElement Pressed { 
                    get {
                        if (pressed == null) { 
                            pressed = new VisualStyleElement(className, part, 3);
                        }

                        return pressed; 
                    }
                } 
 
                private static VisualStyleElement disabled;
 
                public static VisualStyleElement Disabled {
                    get {
                        if (disabled == null) {
                            disabled = new VisualStyleElement(className, part, 4); 
                        }
 
                        return disabled; 
                    }
                } 

                private static VisualStyleElement _checked;

                public static VisualStyleElement Checked { 
                    get {
                        if (_checked == null) { 
                            _checked = new VisualStyleElement(className, part, 5); 
                        }
 
                        return _checked;
                    }
                }
 
                private static VisualStyleElement hotchecked;
 
                public static VisualStyleElement HotChecked { 
                    get {
                        if (hotchecked == null) { 
                            hotchecked = new VisualStyleElement(className, part, 6);
                        }

                        return hotchecked; 
                    }
                } 
            } 

            public static class SplitButtonDropDown { 
                private static readonly int part = 4;


                private static VisualStyleElement normal; 

                public static VisualStyleElement Normal { 
                    get { 
                        if (normal == null) {
                            normal = new VisualStyleElement(className, part, 1); 
                        }

                        return normal;
                    } 
                }
 
                private static VisualStyleElement hot; 

                public static VisualStyleElement Hot { 
                    get {
                        if (hot == null) {
                            hot = new VisualStyleElement(className, part, 2);
                        } 

                        return hot; 
                    } 
                }
 
                private static VisualStyleElement pressed;

                public static VisualStyleElement Pressed {
                    get { 
                        if (pressed == null) {
                            pressed = new VisualStyleElement(className, part, 3); 
                        } 

                        return pressed; 
                    }
                }

                private static VisualStyleElement disabled; 

                public static VisualStyleElement Disabled { 
                    get { 
                        if (disabled == null) {
                            disabled = new VisualStyleElement(className, part, 4); 
                        }

                        return disabled;
                    } 
                }
 
                private static VisualStyleElement _checked; 

                public static VisualStyleElement Checked { 
                    get {
                        if (_checked == null) {
                            _checked = new VisualStyleElement(className, part, 5);
                        } 

                        return _checked; 
                    } 
                }
 
                private static VisualStyleElement hotchecked;

                public static VisualStyleElement HotChecked {
                    get { 
                        if (hotchecked == null) {
                            hotchecked = new VisualStyleElement(className, part, 6); 
                        } 

                        return hotchecked; 
                    }
                }
            }
 
            public static class SeparatorHorizontal {
                private static readonly int part = 5; 
 

                private static VisualStyleElement normal; 

                public static VisualStyleElement Normal {
                    get {
                        if (normal == null) { 
                            normal = new VisualStyleElement(className, part, 0);
                        } 
 
                        return normal;
                    } 
                }
            }

            public static class SeparatorVertical { 
                private static readonly int part = 6;
 
 
                private static VisualStyleElement normal;
 
                public static VisualStyleElement Normal {
                    get {
                        if (normal == null) {
                            normal = new VisualStyleElement(className, part, 0); 
                        }
 
                        return normal; 
                    }
                } 
            }

        } // END TOOLBAR
 
        public static class ToolTip {
            private static readonly string className = "TOOLTIP"; 
 
            public static class Standard {
                private static readonly int part = 1; 


                private static VisualStyleElement normal;
 
                public static VisualStyleElement Normal {
                    get { 
                        if (normal == null) { 
                            normal = new VisualStyleElement(className, part, 1);
                        } 

                        return normal;
                    }
                } 

                private static VisualStyleElement link; 
 
                public static VisualStyleElement Link {
                    get { 
                        if (link == null) {
                            link = new VisualStyleElement(className, part, 2);
                        }
 
                        return link;
                    } 
                } 
            }
 
            public static class StandardTitle {
                private static readonly int part = 2;

 
                private static VisualStyleElement normal;
 
                public static VisualStyleElement Normal { 
                    get {
                        if (normal == null) { 
                            normal = new VisualStyleElement(className, part, 0);
                        }

                        return normal; 
                    }
                } 
            } 

            public static class Balloon { 
                private static readonly int part = 3;


                private static VisualStyleElement normal; 

                public static VisualStyleElement Normal { 
                    get { 
                        if (normal == null) {
                            normal = new VisualStyleElement(className, part, 1); 
                        }

                        return normal;
                    } 
                }
 
                private static VisualStyleElement link; 

                public static VisualStyleElement Link { 
                    get {
                        if (link == null) {
                            link = new VisualStyleElement(className, part, 2);
                        } 

                        return link; 
                    } 
                }
            } 

            public static class BalloonTitle {
                private static readonly int part = 4;
 

                private static VisualStyleElement normal; 
 
                public static VisualStyleElement Normal {
                    get { 
                        if (normal == null) {
                            normal = new VisualStyleElement(className, part, 0);
                        }
 
                        return normal;
                    } 
                } 
            }
 
            public static class Close {
                private static readonly int part = 5;

 
                private static VisualStyleElement normal;
 
                public static VisualStyleElement Normal { 
                    get {
                        if (normal == null) { 
                            normal = new VisualStyleElement(className, part, 1);
                        }

                        return normal; 
                    }
                } 
 
                private static VisualStyleElement hot;
 
                public static VisualStyleElement Hot {
                    get {
                        if (hot == null) {
                            hot = new VisualStyleElement(className, part, 2); 
                        }
 
                        return hot; 
                    }
                } 

                private static VisualStyleElement pressed;

                public static VisualStyleElement Pressed { 
                    get {
                        if (pressed == null) { 
                            pressed = new VisualStyleElement(className, part, 3); 
                        }
 
                        return pressed;
                    }
                }
            } 
        } // END TOOLTIP
 
        public static class TrackBar { 
            private static readonly string className = "TRACKBAR";
 
            public static class Track {
                private static readonly int part = 1;

 
                private static VisualStyleElement normal;
 
                public static VisualStyleElement Normal { 
                    get {
                        if (normal == null) { 
                            normal = new VisualStyleElement(className, part, 1);
                        }

                        return normal; 
                    }
                } 
            } 

            public static class TrackVertical { 
                private static readonly int part = 2;


                private static VisualStyleElement normal; 

                public static VisualStyleElement Normal { 
                    get { 
                        if (normal == null) {
                            normal = new VisualStyleElement(className, part, 1); 
                        }

                        return normal;
                    } 
                }
            } 
 
            public static class Thumb {
                private static readonly int part = 3; 


                private static VisualStyleElement normal;
 
                public static VisualStyleElement Normal {
                    get { 
                        if (normal == null) { 
                            normal = new VisualStyleElement(className, part, 1);
                        } 

                        return normal;
                    }
                } 

                private static VisualStyleElement hot; 
 
                public static VisualStyleElement Hot {
                    get { 
                        if (hot == null) {
                            hot = new VisualStyleElement(className, part, 2);
                        }
 
                        return hot;
                    } 
                } 

                private static VisualStyleElement pressed; 

                public static VisualStyleElement Pressed {
                    get {
                        if (pressed == null) { 
                            pressed = new VisualStyleElement(className, part, 3);
                        } 
 
                        return pressed;
                    } 
                }

                private static VisualStyleElement focused;
 
                public static VisualStyleElement Focused {
                    get { 
                        if (focused == null) { 
                            focused = new VisualStyleElement(className, part, 4);
                        } 

                        return focused;
                    }
                } 

                private static VisualStyleElement disabled; 
 
                public static VisualStyleElement Disabled {
                    get { 
                        if (disabled == null) {
                            disabled = new VisualStyleElement(className, part, 5);
                        }
 
                        return disabled;
                    } 
                } 
            }
 
            public static class ThumbBottom {
                private static readonly int part = 4;

 
                private static VisualStyleElement normal;
 
                public static VisualStyleElement Normal { 
                    get {
                        if (normal == null) { 
                            normal = new VisualStyleElement(className, part, 1);
                        }

                        return normal; 
                    }
                } 
 
                private static VisualStyleElement hot;
 
                public static VisualStyleElement Hot {
                    get {
                        if (hot == null) {
                            hot = new VisualStyleElement(className, part, 2); 
                        }
 
                        return hot; 
                    }
                } 

                private static VisualStyleElement pressed;

                public static VisualStyleElement Pressed { 
                    get {
                        if (pressed == null) { 
                            pressed = new VisualStyleElement(className, part, 3); 
                        }
 
                        return pressed;
                    }
                }
 
                private static VisualStyleElement focused;
 
                public static VisualStyleElement Focused { 
                    get {
                        if (focused == null) { 
                            focused = new VisualStyleElement(className, part, 4);
                        }

                        return focused; 
                    }
                } 
 
                private static VisualStyleElement disabled;
 
                public static VisualStyleElement Disabled {
                    get {
                        if (disabled == null) {
                            disabled = new VisualStyleElement(className, part, 5); 
                        }
 
                        return disabled; 
                    }
                } 
            }

            public static class ThumbTop {
                private static readonly int part = 5; 

 
                private static VisualStyleElement normal; 

                public static VisualStyleElement Normal { 
                    get {
                        if (normal == null) {
                            normal = new VisualStyleElement(className, part, 1);
                        } 

                        return normal; 
                    } 
                }
 
                private static VisualStyleElement hot;

                public static VisualStyleElement Hot {
                    get { 
                        if (hot == null) {
                            hot = new VisualStyleElement(className, part, 2); 
                        } 

                        return hot; 
                    }
                }

                private static VisualStyleElement pressed; 

                public static VisualStyleElement Pressed { 
                    get { 
                        if (pressed == null) {
                            pressed = new VisualStyleElement(className, part, 3); 
                        }

                        return pressed;
                    } 
                }
 
                private static VisualStyleElement focused; 

                public static VisualStyleElement Focused { 
                    get {
                        if (focused == null) {
                            focused = new VisualStyleElement(className, part, 4);
                        } 

                        return focused; 
                    } 
                }
 
                private static VisualStyleElement disabled;

                public static VisualStyleElement Disabled {
                    get { 
                        if (disabled == null) {
                            disabled = new VisualStyleElement(className, part, 5); 
                        } 

                        return disabled; 
                    }
                }
            }
 
            public static class ThumbVertical {
                private static readonly int part = 6; 
 

                private static VisualStyleElement normal; 

                public static VisualStyleElement Normal {
                    get {
                        if (normal == null) { 
                            normal = new VisualStyleElement(className, part, 1);
                        } 
 
                        return normal;
                    } 
                }

                private static VisualStyleElement hot;
 
                public static VisualStyleElement Hot {
                    get { 
                        if (hot == null) { 
                            hot = new VisualStyleElement(className, part, 2);
                        } 

                        return hot;
                    }
                } 

                private static VisualStyleElement pressed; 
 
                public static VisualStyleElement Pressed {
                    get { 
                        if (pressed == null) {
                            pressed = new VisualStyleElement(className, part, 3);
                        }
 
                        return pressed;
                    } 
                } 

                private static VisualStyleElement focused; 

                public static VisualStyleElement Focused {
                    get {
                        if (focused == null) { 
                            focused = new VisualStyleElement(className, part, 4);
                        } 
 
                        return focused;
                    } 
                }

                private static VisualStyleElement disabled;
 
                public static VisualStyleElement Disabled {
                    get { 
                        if (disabled == null) { 
                            disabled = new VisualStyleElement(className, part, 5);
                        } 

                        return disabled;
                    }
                } 
            }
 
            public static class ThumbLeft { 
                private static readonly int part = 7;
 

                private static VisualStyleElement normal;

                public static VisualStyleElement Normal { 
                    get {
                        if (normal == null) { 
                            normal = new VisualStyleElement(className, part, 1); 
                        }
 
                        return normal;
                    }
                }
 
                private static VisualStyleElement hot;
 
                public static VisualStyleElement Hot { 
                    get {
                        if (hot == null) { 
                            hot = new VisualStyleElement(className, part, 2);
                        }

                        return hot; 
                    }
                } 
 
                private static VisualStyleElement pressed;
 
                public static VisualStyleElement Pressed {
                    get {
                        if (pressed == null) {
                            pressed = new VisualStyleElement(className, part, 3); 
                        }
 
                        return pressed; 
                    }
                } 

                private static VisualStyleElement focused;

                public static VisualStyleElement Focused { 
                    get {
                        if (focused == null) { 
                            focused = new VisualStyleElement(className, part, 4); 
                        }
 
                        return focused;
                    }
                }
 
                private static VisualStyleElement disabled;
 
                public static VisualStyleElement Disabled { 
                    get {
                        if (disabled == null) { 
                            disabled = new VisualStyleElement(className, part, 5);
                        }

                        return disabled; 
                    }
                } 
            } 

            public static class ThumbRight { 
                private static readonly int part = 8;


                private static VisualStyleElement normal; 

                public static VisualStyleElement Normal { 
                    get { 
                        if (normal == null) {
                            normal = new VisualStyleElement(className, part, 1); 
                        }

                        return normal;
                    } 
                }
 
                private static VisualStyleElement hot; 

                public static VisualStyleElement Hot { 
                    get {
                        if (hot == null) {
                            hot = new VisualStyleElement(className, part, 2);
                        } 

                        return hot; 
                    } 
                }
 
                private static VisualStyleElement pressed;

                public static VisualStyleElement Pressed {
                    get { 
                        if (pressed == null) {
                            pressed = new VisualStyleElement(className, part, 3); 
                        } 

                        return pressed; 
                    }
                }

                private static VisualStyleElement focused; 

                public static VisualStyleElement Focused { 
                    get { 
                        if (focused == null) {
                            focused = new VisualStyleElement(className, part, 4); 
                        }

                        return focused;
                    } 
                }
 
                private static VisualStyleElement disabled; 

                public static VisualStyleElement Disabled { 
                    get {
                        if (disabled == null) {
                            disabled = new VisualStyleElement(className, part, 5);
                        } 

                        return disabled; 
                    } 
                }
            } 

            public static class Ticks {
                private static readonly int part = 9;
 

                private static VisualStyleElement normal; 
 
                public static VisualStyleElement Normal {
                    get { 
                        if (normal == null) {
                            normal = new VisualStyleElement(className, part, 1);
                        }
 
                        return normal;
                    } 
                } 
            }
 
            public static class TicksVertical {
                private static readonly int part = 10;

 
                private static VisualStyleElement normal;
 
                public static VisualStyleElement Normal { 
                    get {
                        if (normal == null) { 
                            normal = new VisualStyleElement(className, part, 1);
                        }

                        return normal; 
                    }
                } 
            } 
        } // END TRACKBAR
 
        public static class TreeView {
            private static readonly string className = "TREEVIEW";

 
            public static class Item {
                private static readonly int part = 1; 
 

                private static VisualStyleElement normal; 

                public static VisualStyleElement Normal {
                    get {
                        if (normal == null) { 
                            normal = new VisualStyleElement(className, part, 1);
                        } 
 
                        return normal;
                    } 
                }

                private static VisualStyleElement hot;
 
                public static VisualStyleElement Hot {
                    get { 
                        if (hot == null) { 
                            hot = new VisualStyleElement(className, part, 2);
                        } 

                        return hot;
                    }
                } 

                private static VisualStyleElement selected; 
 
                public static VisualStyleElement Selected {
                    get { 
                        if (selected == null) {
                            selected = new VisualStyleElement(className, part, 3);
                        }
 
                        return selected;
                    } 
                } 

                private static VisualStyleElement disabled; 

                public static VisualStyleElement Disabled {
                    get {
                        if (disabled == null) { 
                            disabled = new VisualStyleElement(className, part, 4);
                        } 
 
                        return disabled;
                    } 
                }

                private static VisualStyleElement selectednotfocus;
 
                public static VisualStyleElement SelectedNotFocus {
                    get { 
                        if (selectednotfocus == null) { 
                            selectednotfocus = new VisualStyleElement(className, part, 5);
                        } 

                        return selectednotfocus;
                    }
                } 
            }
 
            public static class Glyph { 
                private static readonly int part = 2;
 
                private static VisualStyleElement closed;

                public static VisualStyleElement Closed {
                    get { 
                        if (closed == null) {
                            closed = new VisualStyleElement(className, part, 1); 
                        } 

                        return closed; 
                    }
                }

                private static VisualStyleElement opened; 

                public static VisualStyleElement Opened { 
                    get { 
                        if (opened == null) {
                            opened = new VisualStyleElement(className, part, 2); 
                        }

                        return opened;
                    } 
                }
            } 
 
            public static class Branch {
                private static readonly int part = 3; 


                private static VisualStyleElement normal;
 
                public static VisualStyleElement Normal {
                    get { 
                        if (normal == null) { 
                            normal = new VisualStyleElement(className, part, 0);
                        } 

                        return normal;
                    }
                } 
            }
        } // END TREEVIEW 
 
        // In Dev10, we replace outline +/- glyphs in PropertyGrid with triangle glyphs (Dev10 Bug 573429).
        // Therefore, a new element ExplorerTreeView.Glyph is defined here. 
        // Due to limited resouce and schedule, we don't define all elements now,
        // and keep it internal use only.
        // We'll consider to publish it later when we have enough resource.
        internal static class ExplorerTreeView { 
            private static readonly string className = "Explorer::TreeView";
 
            public static class Glyph { 
                private static readonly int part = 2;
 
                private static VisualStyleElement closed;

                public static VisualStyleElement Closed {
                    get { 
                        if (closed == null) {
                            closed = new VisualStyleElement(className, part, 1); 
                        } 

                        return closed; 
                    }
                }

                private static VisualStyleElement opened; 

                public static VisualStyleElement Opened { 
                    get { 
                        if (opened == null) {
                            opened = new VisualStyleElement(className, part, 2); 
                        }

                        return opened;
                    } 
                }
            } 
        } // END Explorer::Tree 

        public static class TextBox { 
            private static readonly string className = "EDIT";

            public static class TextEdit {
                private static readonly int part = 1; 

 
 
                private static VisualStyleElement normal;
 
                public static VisualStyleElement Normal {
                    get {
                        if (normal == null) {
                            normal = new VisualStyleElement(className, part, 1); 
                        }
 
                        return normal; 
                    }
                } 

                private static VisualStyleElement hot;

                public static VisualStyleElement Hot { 
                    get {
                        if (hot == null) { 
                            hot = new VisualStyleElement(className, part, 2); 
                        }
 
                        return hot;
                    }
                }
 
                private static VisualStyleElement selected;
 
                public static VisualStyleElement Selected { 
                    get {
                        if (selected == null) { 
                            selected = new VisualStyleElement(className, part, 3);
                        }

                        return selected; 
                    }
                } 
 
                private static VisualStyleElement disabled;
 
                public static VisualStyleElement Disabled {
                    get {
                        if (disabled == null) {
                            disabled = new VisualStyleElement(className, part, 4); 
                        }
 
                        return disabled; 
                    }
                } 

                private static VisualStyleElement focused;

                public static VisualStyleElement Focused { 
                    get {
                        if (focused == null) { 
                            focused = new VisualStyleElement(className, part, 5); 
                        }
 
                        return focused;
                    }
                }
 
                private static VisualStyleElement _readonly;
 
                public static VisualStyleElement ReadOnly { 
                    get {
                        if (_readonly == null) { 
                            _readonly = new VisualStyleElement(className, part, 6);
                        }

                        return _readonly; 
                    }
                } 
 
                private static VisualStyleElement assist;
 
                public static VisualStyleElement Assist {
                    get {
                        if (assist == null) {
                            assist = new VisualStyleElement(className, part, 7); 
                        }
 
                        return assist; 
                    }
                } 
            }

            public static class Caret {
                private static readonly int part = 2; 

 
                private static VisualStyleElement normal; 

                public static VisualStyleElement Normal { 
                    get {
                        if (normal == null) {
                            normal = new VisualStyleElement(className, part, 0);
                        } 

                        return normal; 
                    } 
                }
            } 
        } // END TEXTBOX

        public static class TrayNotify {
            private static readonly string className = "TRAYNOTIFY"; 

            public static class Background { 
                private static readonly int part = 1; 

 
                private static VisualStyleElement normal;

                public static VisualStyleElement Normal {
                    get { 
                        if (normal == null) {
                            normal = new VisualStyleElement(className, part, 0); 
                        } 

                        return normal; 
                    }
                }
            }
 
            public static class AnimateBackground {
                private static readonly int part = 2; 
 

                private static VisualStyleElement normal; 

                public static VisualStyleElement Normal {
                    get {
                        if (normal == null) { 
                            normal = new VisualStyleElement(className, part, 0);
                        } 
 
                        return normal;
                    } 
                }
            }
        } // END TRAYNOTIFY
 
        public static class Window {
            private static readonly string className = "WINDOW"; 
 
            public static class Caption {
                private static readonly int part = 1; 


                private static VisualStyleElement active;
 
                public static VisualStyleElement Active {
                    get { 
                        if (active == null) { 
                            active = new VisualStyleElement(className, part, 1);
                        } 

                        return active;
                    }
                } 

                private static VisualStyleElement inactive; 
 
                public static VisualStyleElement Inactive {
                    get { 
                        if (inactive == null) {
                            inactive = new VisualStyleElement(className, part, 2);
                        }
 
                        return inactive;
                    } 
                } 

                private static VisualStyleElement disabled; 

                public static VisualStyleElement Disabled {
                    get {
                        if (disabled == null) { 
                            disabled = new VisualStyleElement(className, part, 3);
                        } 
 
                        return disabled;
                    } 
                }
            }

            public static class SmallCaption { 
                private static readonly int part = 2;
 
 
                private static VisualStyleElement active;
 
                public static VisualStyleElement Active {
                    get {
                        if (active == null) {
                            active = new VisualStyleElement(className, part, 1); 
                        }
 
                        return active; 
                    }
                } 

                private static VisualStyleElement inactive;

                public static VisualStyleElement Inactive { 
                    get {
                        if (inactive == null) { 
                            inactive = new VisualStyleElement(className, part, 2); 
                        }
 
                        return inactive;
                    }
                }
 
                private static VisualStyleElement disabled;
 
                public static VisualStyleElement Disabled { 
                    get {
                        if (disabled == null) { 
                            disabled = new VisualStyleElement(className, part, 3);
                        }

                        return disabled; 
                    }
                } 
            } 

            public static class MinCaption { 
                private static readonly int part = 3;


                private static VisualStyleElement active; 

                public static VisualStyleElement Active { 
                    get { 
                        if (active == null) {
                            active = new VisualStyleElement(className, part, 1); 
                        }

                        return active;
                    } 
                }
 
                private static VisualStyleElement inactive; 

                public static VisualStyleElement Inactive { 
                    get {
                        if (inactive == null) {
                            inactive = new VisualStyleElement(className, part, 2);
                        } 

                        return inactive; 
                    } 
                }
 
                private static VisualStyleElement disabled;

                public static VisualStyleElement Disabled {
                    get { 
                        if (disabled == null) {
                            disabled = new VisualStyleElement(className, part, 3); 
                        } 

                        return disabled; 
                    }
                }
            }
 
            public static class SmallMinCaption {
                private static readonly int part = 4; 
 

                private static VisualStyleElement active; 

                public static VisualStyleElement Active {
                    get {
                        if (active == null) { 
                            active = new VisualStyleElement(className, part, 1);
                        } 
 
                        return active;
                    } 
                }

                private static VisualStyleElement inactive;
 
                public static VisualStyleElement Inactive {
                    get { 
                        if (inactive == null) { 
                            inactive = new VisualStyleElement(className, part, 2);
                        } 

                        return inactive;
                    }
                } 

                private static VisualStyleElement disabled; 
 
                public static VisualStyleElement Disabled {
                    get { 
                        if (disabled == null) {
                            disabled = new VisualStyleElement(className, part, 3);
                        }
 
                        return disabled;
                    } 
                } 
            }
 
            public static class MaxCaption {
                private static readonly int part = 5;

 
                private static VisualStyleElement active;
 
                public static VisualStyleElement Active { 
                    get {
                        if (active == null) { 
                            active = new VisualStyleElement(className, part, 1);
                        }

                        return active; 
                    }
                } 
 
                private static VisualStyleElement inactive;
 
                public static VisualStyleElement Inactive {
                    get {
                        if (inactive == null) {
                            inactive = new VisualStyleElement(className, part, 2); 
                        }
 
                        return inactive; 
                    }
                } 

                private static VisualStyleElement disabled;

                public static VisualStyleElement Disabled { 
                    get {
                        if (disabled == null) { 
                            disabled = new VisualStyleElement(className, part, 3); 
                        }
 
                        return disabled;
                    }
                }
            } 

            public static class SmallMaxCaption { 
                private static readonly int part = 6; 

 
                private static VisualStyleElement active;

                public static VisualStyleElement Active {
                    get { 
                        if (active == null) {
                            active = new VisualStyleElement(className, part, 1); 
                        } 

                        return active; 
                    }
                }

                private static VisualStyleElement inactive; 

                public static VisualStyleElement Inactive { 
                    get { 
                        if (inactive == null) {
                            inactive = new VisualStyleElement(className, part, 2); 
                        }

                        return inactive;
                    } 
                }
 
                private static VisualStyleElement disabled; 

                public static VisualStyleElement Disabled { 
                    get {
                        if (disabled == null) {
                            disabled = new VisualStyleElement(className, part, 3);
                        } 

                        return disabled; 
                    } 
                }
            } 

            public static class FrameLeft {
                private static readonly int part = 7;
 

                private static VisualStyleElement active; 
 
                public static VisualStyleElement Active {
                    get { 
                        if (active == null) {
                            active = new VisualStyleElement(className, part, 1);
                        }
 
                        return active;
                    } 
                } 

                private static VisualStyleElement inactive; 

                public static VisualStyleElement Inactive {
                    get {
                        if (inactive == null) { 
                            inactive = new VisualStyleElement(className, part, 2);
                        } 
 
                        return inactive;
                    } 
                }
            }

            public static class FrameRight { 
                private static readonly int part = 8;
 
 
                private static VisualStyleElement active;
 
                public static VisualStyleElement Active {
                    get {
                        if (active == null) {
                            active = new VisualStyleElement(className, part, 1); 
                        }
 
                        return active; 
                    }
                } 

                private static VisualStyleElement inactive;

                public static VisualStyleElement Inactive { 
                    get {
                        if (inactive == null) { 
                            inactive = new VisualStyleElement(className, part, 2); 
                        }
 
                        return inactive;
                    }
                }
            } 

            public static class FrameBottom { 
                private static readonly int part = 9; 

 
                private static VisualStyleElement active;

                public static VisualStyleElement Active {
                    get { 
                        if (active == null) {
                            active = new VisualStyleElement(className, part, 1); 
                        } 

                        return active; 
                    }
                }

                private static VisualStyleElement inactive; 

                public static VisualStyleElement Inactive { 
                    get { 
                        if (inactive == null) {
                            inactive = new VisualStyleElement(className, part, 2); 
                        }

                        return inactive;
                    } 
                }
            } 
 
            public static class SmallFrameLeft {
                private static readonly int part = 10; 


                private static VisualStyleElement active;
 
                public static VisualStyleElement Active {
                    get { 
                        if (active == null) { 
                            active = new VisualStyleElement(className, part, 1);
                        } 

                        return active;
                    }
                } 

                private static VisualStyleElement inactive; 
 
                public static VisualStyleElement Inactive {
                    get { 
                        if (inactive == null) {
                            inactive = new VisualStyleElement(className, part, 2);
                        }
 
                        return inactive;
                    } 
                } 
            }
 
            public static class SmallFrameRight {
                private static readonly int part = 11;

 
                private static VisualStyleElement active;
 
                public static VisualStyleElement Active { 
                    get {
                        if (active == null) { 
                            active = new VisualStyleElement(className, part, 1);
                        }

                        return active; 
                    }
                } 
 
                private static VisualStyleElement inactive;
 
                public static VisualStyleElement Inactive {
                    get {
                        if (inactive == null) {
                            inactive = new VisualStyleElement(className, part, 2); 
                        }
 
                        return inactive; 
                    }
                } 
            }

            public static class SmallFrameBottom {
                private static readonly int part = 12; 

 
                private static VisualStyleElement active; 

                public static VisualStyleElement Active { 
                    get {
                        if (active == null) {
                            active = new VisualStyleElement(className, part, 1);
                        } 

                        return active; 
                    } 
                }
 
                private static VisualStyleElement inactive;

                public static VisualStyleElement Inactive {
                    get { 
                        if (inactive == null) {
                            inactive = new VisualStyleElement(className, part, 2); 
                        } 

                        return inactive; 
                    }
                }
            }
 
            public static class SysButton {
                private static readonly int part = 13; 
 

                private static VisualStyleElement normal; 

                public static VisualStyleElement Normal {
                    get {
                        if (normal == null) { 
                            normal = new VisualStyleElement(className, part, 1);
                        } 
 
                        return normal;
                    } 
                }

                private static VisualStyleElement hot;
 
                public static VisualStyleElement Hot {
                    get { 
                        if (hot == null) { 
                            hot = new VisualStyleElement(className, part, 2);
                        } 

                        return hot;
                    }
                } 

                private static VisualStyleElement pressed; 
 
                public static VisualStyleElement Pressed {
                    get { 
                        if (pressed == null) {
                            pressed = new VisualStyleElement(className, part, 3);
                        }
 
                        return pressed;
                    } 
                } 

                private static VisualStyleElement disabled; 

                public static VisualStyleElement Disabled {
                    get {
                        if (disabled == null) { 
                            disabled = new VisualStyleElement(className, part, 4);
                        } 
 
                        return disabled;
                    } 
                }
            }

            public static class MdiSysButton { 
                private static readonly int part = 14;
 
 
                private static VisualStyleElement normal;
 
                public static VisualStyleElement Normal {
                    get {
                        if (normal == null) {
                            normal = new VisualStyleElement(className, part, 1); 
                        }
 
                        return normal; 
                    }
                } 

                private static VisualStyleElement hot;

                public static VisualStyleElement Hot { 
                    get {
                        if (hot == null) { 
                            hot = new VisualStyleElement(className, part, 2); 
                        }
 
                        return hot;
                    }
                }
 
                private static VisualStyleElement pressed;
 
                public static VisualStyleElement Pressed { 
                    get {
                        if (pressed == null) { 
                            pressed = new VisualStyleElement(className, part, 3);
                        }

                        return pressed; 
                    }
                } 
 
                private static VisualStyleElement disabled;
 
                public static VisualStyleElement Disabled {
                    get {
                        if (disabled == null) {
                            disabled = new VisualStyleElement(className, part, 4); 
                        }
 
                        return disabled; 
                    }
                } 
            }

            public static class MinButton {
                private static readonly int part = 15; 

 
                private static VisualStyleElement normal; 

                public static VisualStyleElement Normal { 
                    get {
                        if (normal == null) {
                            normal = new VisualStyleElement(className, part, 1);
                        } 

                        return normal; 
                    } 
                }
 
                private static VisualStyleElement hot;

                public static VisualStyleElement Hot {
                    get { 
                        if (hot == null) {
                            hot = new VisualStyleElement(className, part, 2); 
                        } 

                        return hot; 
                    }
                }

                private static VisualStyleElement pressed; 

                public static VisualStyleElement Pressed { 
                    get { 
                        if (pressed == null) {
                            pressed = new VisualStyleElement(className, part, 3); 
                        }

                        return pressed;
                    } 
                }
 
                private static VisualStyleElement disabled; 

                public static VisualStyleElement Disabled { 
                    get {
                        if (disabled == null) {
                            disabled = new VisualStyleElement(className, part, 4);
                        } 

                        return disabled; 
                    } 
                }
            } 

            public static class MdiMinButton {
                private static readonly int part = 16;
 

                private static VisualStyleElement normal; 
 
                public static VisualStyleElement Normal {
                    get { 
                        if (normal == null) {
                            normal = new VisualStyleElement(className, part, 1);
                        }
 
                        return normal;
                    } 
                } 

                private static VisualStyleElement hot; 

                public static VisualStyleElement Hot {
                    get {
                        if (hot == null) { 
                            hot = new VisualStyleElement(className, part, 2);
                        } 
 
                        return hot;
                    } 
                }

                private static VisualStyleElement pressed;
 
                public static VisualStyleElement Pressed {
                    get { 
                        if (pressed == null) { 
                            pressed = new VisualStyleElement(className, part, 3);
                        } 

                        return pressed;
                    }
                } 

                private static VisualStyleElement disabled; 
 
                public static VisualStyleElement Disabled {
                    get { 
                        if (disabled == null) {
                            disabled = new VisualStyleElement(className, part, 4);
                        }
 
                        return disabled;
                    } 
                } 
            }
 
            public static class MaxButton {
                private static readonly int part = 17;

 
                private static VisualStyleElement normal;
 
                public static VisualStyleElement Normal { 
                    get {
                        if (normal == null) { 
                            normal = new VisualStyleElement(className, part, 1);
                        }

                        return normal; 
                    }
                } 
 
                private static VisualStyleElement hot;
 
                public static VisualStyleElement Hot {
                    get {
                        if (hot == null) {
                            hot = new VisualStyleElement(className, part, 2); 
                        }
 
                        return hot; 
                    }
                } 

                private static VisualStyleElement pressed;

                public static VisualStyleElement Pressed { 
                    get {
                        if (pressed == null) { 
                            pressed = new VisualStyleElement(className, part, 3); 
                        }
 
                        return pressed;
                    }
                }
 
                private static VisualStyleElement disabled;
 
                public static VisualStyleElement Disabled { 
                    get {
                        if (disabled == null) { 
                            disabled = new VisualStyleElement(className, part, 4);
                        }

                        return disabled; 
                    }
                } 
            } 

            public static class CloseButton { 
                private static readonly int part = 18;


                private static VisualStyleElement normal; 

                public static VisualStyleElement Normal { 
                    get { 
                        if (normal == null) {
                            normal = new VisualStyleElement(className, part, 1); 
                        }

                        return normal;
                    } 
                }
 
                private static VisualStyleElement hot; 

                public static VisualStyleElement Hot { 
                    get {
                        if (hot == null) {
                            hot = new VisualStyleElement(className, part, 2);
                        } 

                        return hot; 
                    } 
                }
 
                private static VisualStyleElement pressed;

                public static VisualStyleElement Pressed {
                    get { 
                        if (pressed == null) {
                            pressed = new VisualStyleElement(className, part, 3); 
                        } 

                        return pressed; 
                    }
                }

                private static VisualStyleElement disabled; 

                public static VisualStyleElement Disabled { 
                    get { 
                        if (disabled == null) {
                            disabled = new VisualStyleElement(className, part, 4); 
                        }

                        return disabled;
                    } 
                }
            } 
 
            public static class SmallCloseButton {
                private static readonly int part = 19; 


                private static VisualStyleElement normal;
 
                public static VisualStyleElement Normal {
                    get { 
                        if (normal == null) { 
                            normal = new VisualStyleElement(className, part, 1);
                        } 

                        return normal;
                    }
                } 

                private static VisualStyleElement hot; 
 
                public static VisualStyleElement Hot {
                    get { 
                        if (hot == null) {
                            hot = new VisualStyleElement(className, part, 2);
                        }
 
                        return hot;
                    } 
                } 

                private static VisualStyleElement pressed; 

                public static VisualStyleElement Pressed {
                    get {
                        if (pressed == null) { 
                            pressed = new VisualStyleElement(className, part, 3);
                        } 
 
                        return pressed;
                    } 
                }

                private static VisualStyleElement disabled;
 
                public static VisualStyleElement Disabled {
                    get { 
                        if (disabled == null) { 
                            disabled = new VisualStyleElement(className, part, 4);
                        } 

                        return disabled;
                    }
                } 
            }
 
            public static class MdiCloseButton { 
                private static readonly int part = 20;
 

                private static VisualStyleElement normal;

                public static VisualStyleElement Normal { 
                    get {
                        if (normal == null) { 
                            normal = new VisualStyleElement(className, part, 1); 
                        }
 
                        return normal;
                    }
                }
 
                private static VisualStyleElement hot;
 
                public static VisualStyleElement Hot { 
                    get {
                        if (hot == null) { 
                            hot = new VisualStyleElement(className, part, 2);
                        }

                        return hot; 
                    }
                } 
 
                private static VisualStyleElement pressed;
 
                public static VisualStyleElement Pressed {
                    get {
                        if (pressed == null) {
                            pressed = new VisualStyleElement(className, part, 3); 
                        }
 
                        return pressed; 
                    }
                } 

                private static VisualStyleElement disabled;

                public static VisualStyleElement Disabled { 
                    get {
                        if (disabled == null) { 
                            disabled = new VisualStyleElement(className, part, 4); 
                        }
 
                        return disabled;
                    }
                }
            } 

            public static class RestoreButton { 
                private static readonly int part = 21; 

 
                private static VisualStyleElement normal;

                public static VisualStyleElement Normal {
                    get { 
                        if (normal == null) {
                            normal = new VisualStyleElement(className, part, 1); 
                        } 

                        return normal; 
                    }
                }

                private static VisualStyleElement hot; 

                public static VisualStyleElement Hot { 
                    get { 
                        if (hot == null) {
                            hot = new VisualStyleElement(className, part, 2); 
                        }

                        return hot;
                    } 
                }
 
                private static VisualStyleElement pressed; 

                public static VisualStyleElement Pressed { 
                    get {
                        if (pressed == null) {
                            pressed = new VisualStyleElement(className, part, 3);
                        } 

                        return pressed; 
                    } 
                }
 
                private static VisualStyleElement disabled;

                public static VisualStyleElement Disabled {
                    get { 
                        if (disabled == null) {
                            disabled = new VisualStyleElement(className, part, 4); 
                        } 

                        return disabled; 
                    }
                }
            }
 
            public static class MdiRestoreButton {
                private static readonly int part = 22; 
 

                private static VisualStyleElement normal; 

                public static VisualStyleElement Normal {
                    get {
                        if (normal == null) { 
                            normal = new VisualStyleElement(className, part, 1);
                        } 
 
                        return normal;
                    } 
                }

                private static VisualStyleElement hot;
 
                public static VisualStyleElement Hot {
                    get { 
                        if (hot == null) { 
                            hot = new VisualStyleElement(className, part, 2);
                        } 

                        return hot;
                    }
                } 

                private static VisualStyleElement pressed; 
 
                public static VisualStyleElement Pressed {
                    get { 
                        if (pressed == null) {
                            pressed = new VisualStyleElement(className, part, 3);
                        }
 
                        return pressed;
                    } 
                } 

                private static VisualStyleElement disabled; 

                public static VisualStyleElement Disabled {
                    get {
                        if (disabled == null) { 
                            disabled = new VisualStyleElement(className, part, 4);
                        } 
 
                        return disabled;
                    } 
                }
            }

            public static class HelpButton { 
                private static readonly int part = 23;
 
 
                private static VisualStyleElement normal;
 
                public static VisualStyleElement Normal {
                    get {
                        if (normal == null) {
                            normal = new VisualStyleElement(className, part, 1); 
                        }
 
                        return normal; 
                    }
                } 

                private static VisualStyleElement hot;

                public static VisualStyleElement Hot { 
                    get {
                        if (hot == null) { 
                            hot = new VisualStyleElement(className, part, 2); 
                        }
 
                        return hot;
                    }
                }
 
                private static VisualStyleElement pressed;
 
                public static VisualStyleElement Pressed { 
                    get {
                        if (pressed == null) { 
                            pressed = new VisualStyleElement(className, part, 3);
                        }

                        return pressed; 
                    }
                } 
 
                private static VisualStyleElement disabled;
 
                public static VisualStyleElement Disabled {
                    get {
                        if (disabled == null) {
                            disabled = new VisualStyleElement(className, part, 4); 
                        }
 
                        return disabled; 
                    }
                } 
            }

            public static class MdiHelpButton {
                private static readonly int part = 24; 

 
                private static VisualStyleElement normal; 

                public static VisualStyleElement Normal { 
                    get {
                        if (normal == null) {
                            normal = new VisualStyleElement(className, part, 1);
                        } 

                        return normal; 
                    } 
                }
 
                private static VisualStyleElement hot;

                public static VisualStyleElement Hot {
                    get { 
                        if (hot == null) {
                            hot = new VisualStyleElement(className, part, 2); 
                        } 

                        return hot; 
                    }
                }

                private static VisualStyleElement pressed; 

                public static VisualStyleElement Pressed { 
                    get { 
                        if (pressed == null) {
                            pressed = new VisualStyleElement(className, part, 3); 
                        }

                        return pressed;
                    } 
                }
 
                private static VisualStyleElement disabled; 

                public static VisualStyleElement Disabled { 
                    get {
                        if (disabled == null) {
                            disabled = new VisualStyleElement(className, part, 4);
                        } 

                        return disabled; 
                    } 
                }
            } 

            public static class HorizontalScroll {
                private static readonly int part = 25;
 

                private static VisualStyleElement normal; 
 
                public static VisualStyleElement Normal {
                    get { 
                        if (normal == null) {
                            normal = new VisualStyleElement(className, part, 1);
                        }
 
                        return normal;
                    } 
                } 

                private static VisualStyleElement hot; 

                public static VisualStyleElement Hot {
                    get {
                        if (hot == null) { 
                            hot = new VisualStyleElement(className, part, 2);
                        } 
 
                        return hot;
                    } 
                }

                private static VisualStyleElement pressed;
 
                public static VisualStyleElement Pressed {
                    get { 
                        if (pressed == null) { 
                            pressed = new VisualStyleElement(className, part, 3);
                        } 

                        return pressed;
                    }
                } 

                private static VisualStyleElement disabled; 
 
                public static VisualStyleElement Disabled {
                    get { 
                        if (disabled == null) {
                            disabled = new VisualStyleElement(className, part, 4);
                        }
 
                        return disabled;
                    } 
                } 
            }
 
            public static class HorizontalThumb {
                private static readonly int part = 26;

 
                private static VisualStyleElement normal;
 
                public static VisualStyleElement Normal { 
                    get {
                        if (normal == null) { 
                            normal = new VisualStyleElement(className, part, 1);
                        }

                        return normal; 
                    }
                } 
 
                private static VisualStyleElement hot;
 
                public static VisualStyleElement Hot {
                    get {
                        if (hot == null) {
                            hot = new VisualStyleElement(className, part, 2); 
                        }
 
                        return hot; 
                    }
                } 

                private static VisualStyleElement pressed;

                public static VisualStyleElement Pressed { 
                    get {
                        if (pressed == null) { 
                            pressed = new VisualStyleElement(className, part, 3); 
                        }
 
                        return pressed;
                    }
                }
 
                private static VisualStyleElement disabled;
 
                public static VisualStyleElement Disabled { 
                    get {
                        if (disabled == null) { 
                            disabled = new VisualStyleElement(className, part, 4);
                        }

                        return disabled; 
                    }
                } 
            } 

            public static class VerticalScroll { 
                private static readonly int part = 27;


                private static VisualStyleElement normal; 

                public static VisualStyleElement Normal { 
                    get { 
                        if (normal == null) {
                            normal = new VisualStyleElement(className, part, 1); 
                        }

                        return normal;
                    } 
                }
 
                private static VisualStyleElement hot; 

                public static VisualStyleElement Hot { 
                    get {
                        if (hot == null) {
                            hot = new VisualStyleElement(className, part, 2);
                        } 

                        return hot; 
                    } 
                }
 
                private static VisualStyleElement pressed;

                public static VisualStyleElement Pressed {
                    get { 
                        if (pressed == null) {
                            pressed = new VisualStyleElement(className, part, 3); 
                        } 

                        return pressed; 
                    }
                }

                private static VisualStyleElement disabled; 

                public static VisualStyleElement Disabled { 
                    get { 
                        if (disabled == null) {
                            disabled = new VisualStyleElement(className, part, 4); 
                        }

                        return disabled;
                    } 
                }
            } 
 
            public static class VerticalThumb {
                private static readonly int part = 28; 


                private static VisualStyleElement normal;
 
                public static VisualStyleElement Normal {
                    get { 
                        if (normal == null) { 
                            normal = new VisualStyleElement(className, part, 1);
                        } 

                        return normal;
                    }
                } 

                private static VisualStyleElement hot; 
 
                public static VisualStyleElement Hot {
                    get { 
                        if (hot == null) {
                            hot = new VisualStyleElement(className, part, 2);
                        }
 
                        return hot;
                    } 
                } 

                private static VisualStyleElement pressed; 

                public static VisualStyleElement Pressed {
                    get {
                        if (pressed == null) { 
                            pressed = new VisualStyleElement(className, part, 3);
                        } 
 
                        return pressed;
                    } 
                }

                private static VisualStyleElement disabled;
 
                public static VisualStyleElement Disabled {
                    get { 
                        if (disabled == null) { 
                            disabled = new VisualStyleElement(className, part, 4);
                        } 

                        return disabled;
                    }
                } 
            }
 
            public static class Dialog { 
                private static readonly int part = 29;
 

                private static VisualStyleElement normal;

                public static VisualStyleElement Normal { 
                    get {
                        if (normal == null) { 
                            normal = new VisualStyleElement(className, part, 0); 
                        }
 
                        return normal;
                    }
                }
            } 

            public static class CaptionSizingTemplate { 
                private static readonly int part = 30; 

 
                private static VisualStyleElement normal;

                public static VisualStyleElement Normal {
                    get { 
                        if (normal == null) {
                            normal = new VisualStyleElement(className, part, 0); 
                        } 

                        return normal; 
                    }
                }
            }
 
            public static class SmallCaptionSizingTemplate {
                private static readonly int part = 31; 
 

                private static VisualStyleElement normal; 

                public static VisualStyleElement Normal {
                    get {
                        if (normal == null) { 
                            normal = new VisualStyleElement(className, part, 0);
                        } 
 
                        return normal;
                    } 
                }
            }

            public static class FrameLeftSizingTemplate { 
                private static readonly int part = 32;
 
 
                private static VisualStyleElement normal;
 
                public static VisualStyleElement Normal {
                    get {
                        if (normal == null) {
                            normal = new VisualStyleElement(className, part, 0); 
                        }
 
                        return normal; 
                    }
                } 
            }

            public static class SmallFrameLeftSizingTemplate {
                private static readonly int part = 33; 

 
                private static VisualStyleElement normal; 

                public static VisualStyleElement Normal { 
                    get {
                        if (normal == null) {
                            normal = new VisualStyleElement(className, part, 0);
                        } 

                        return normal; 
                    } 
                }
            } 

            //Not used as compound word here
            [SuppressMessage("Microsoft.Naming", "CA1702:CompoundWordsShouldBeCasedCorrectly")]
            public static class FrameRightSizingTemplate 
            {
                private static readonly int part = 34; 
 

                private static VisualStyleElement normal; 

                public static VisualStyleElement Normal {
                    get {
                        if (normal == null) { 
                            normal = new VisualStyleElement(className, part, 0);
                        } 
 
                        return normal;
                    } 
                }
            }

            //Not used as compound word here 
            [SuppressMessage("Microsoft.Naming", "CA1702:CompoundWordsShouldBeCasedCorrectly")]
            public static class SmallFrameRightSizingTemplate 
            { 
                private static readonly int part = 35;
 

                private static VisualStyleElement normal;

                public static VisualStyleElement Normal { 
                    get {
                        if (normal == null) { 
                            normal = new VisualStyleElement(className, part, 0); 
                        }
 
                        return normal;
                    }
                }
            } 

            public static class FrameBottomSizingTemplate { 
                private static readonly int part = 36; 

 
                private static VisualStyleElement normal;

                public static VisualStyleElement Normal {
                    get { 
                        if (normal == null) {
                            normal = new VisualStyleElement(className, part, 0); 
                        } 

                        return normal; 
                    }
                }
            }
 
            public static class SmallFrameBottomSizingTemplate {
                private static readonly int part = 37; 
 

                private static VisualStyleElement normal; 

                public static VisualStyleElement Normal {
                    get {
                        if (normal == null) { 
                            normal = new VisualStyleElement(className, part, 0);
                        } 
 
                        return normal;
                    } 
                }
            }
        } // END WINDOW
 	} 
}

// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
                        

Link Menu

Network programming in C#, Network Programming in VB.NET, Network Programming in .NET
This book is available now!
Buy at Amazon US or
Buy at Amazon UK