private void Clock1_HourHandPainting(object sender, AnalogClock.PaintEventArgs e)
{
if (this.Clock1.HourHand.Path.PointCount > 2) {
Drawing2D.PathGradientBrush br = new Drawing2D.PathGradientBrush(this.Clock1.HourHand.Path);
br.CenterColor = Color.White;
br.SurroundColors = new Color[] { this.Clock1.HourHand.Color };
e.Brush = br;
br.Dispose();
}
}
private void Clock1_TimeChanged(System.Object sender, System.EventArgs e)
{
this.Clock1.UtcOffset = TimeZone.CurrentTimeZone.GetUtcOffset(DateTime.Now);
}
DateTime cdt = Convert.ToDateTime("#17:20:35#");
DateTime utcDt = DateTime.UtcNow;
this.Clock1.UtcOffset = new TimeSpan(0, cdt.Hour - utcDt.Hour, cdt.Minute - utcDt.Minute, cdt.Second - utcDt.Second);
PS: via
converter.telerik