/// <summary> /// Sets styles for all added ToolStrip controls. /// </summary> /// <param name="toolstyle">The ToolStrip control to be stylized.</param> /// <param name="menustyle">The Menu display style.</param> /// <param name="buttonstyle">The button hover effect style.</param> /// <param name="begin">The gradient start color, or flat color used to paint the control.</param> /// <param name="end">The gradient end color.</param> /// <param name="blend">The gradient blend used to control the gradient aspect. Pass null for default blend.</param> public void SetGlobalStyles(ToolStripType toolstyle, MenuType menuStyle, ButtonHoverType buttonStyle, Color begin, Color end, Blend blend) { SetToolStripStyle(toolstyle, begin, end, blend); SetMenuStripStyle(toolstyle, menuStyle, begin, end, blend); SetButtonHoverStyle(buttonStyle); SetStatusStripStyle(toolstyle, begin, end, blend); }
/// <summary> /// Sets the Button hover style effect. /// </summary> /// <param name="style">The button hover style effect.</param> public void SetButtonHoverStyle(ButtonHoverType style) { ButtonHoverEffect = style; }