public void SetGradientPaintOnDefault() { var gradient = new Gradient <Form>(this, ColorAOnDefault, ColorBOnDefault, ColorCOnDefault, ColorToneOnDefault, GradientAngleOnDefault); TransitionHelper.GradientPaint(gradient); }
public void SetGradientPaintOnClick() { var gradient = new Gradient <FlatGradientButton>(this, ColorAOnClick, ColorBOnClick, ColorCOnClick, ColorToneOnClick, GradientAngleOnClick); TransitionHelper.GradientPaint(gradient); }
public void SetGradientPaintOnDefault() { TransitionHelper.GradientPaint(new Gradient <FlatPanel>(this, ColorAOnDefault, ColorBOnDefault, ColorCOnDefault, ColorToneOnDefault, GradientAngleOnDefault)); }