public void ChangeStyle(CustomStyleColorTable colorTable)
 {
     foreach (Control control in this.customControls)
     {
         SetControlStyle(control, colorTable);
     }
 }
        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);
            }
        }