LinearGradientBrush lgb = new LinearGradientBrush(); GradientStop st = new GradientStop(); st.Offset = 0.1; st.Color = Colors.Green; GradientStop st2 = new GradientStop(); st.Offset = 1.0; st.Color = Colors.Orange; lgb.GradientStops.Add(st); lgb.GradientStops.Add(st2); btnClick.Background = lgb;
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)