public static void SetControlStyle(Control control, CustomStyleColorTable colorTable)
        {
            if (colorTable.AllControlSettings != null)
            {
                control.ApplyCustomStyle(colorTable.AllControlSettings);
            }

            Button button = control as Button;
            if (button != null && colorTable.ButtonSettings != null)
            {
                button.ApplyCustomStyle(colorTable.ButtonSettings);
            }
        }