Esempio n. 1
0
        private void panel4_Paint(object sender, PaintEventArgs e)
        {
            this._now = DateTime.Now;
            DegreeTime dt = new DegreeTime(this._now);

            e.Graphics.DrawString(dt.ToMediumString(), this.panel4.Font, Brushes.DeepSkyBlue, this.panel4.ClientRectangle, this._format);
        }
Esempio n. 2
0
 public static TimeSpan ToTimeSpan(DegreeTime dt)
 {
     return(dt.ToTimeSpan());
 }