Ejemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="CalendarSystemRenderer"/> class.
 /// </summary>
 /// <param name="calendar"></param>
 public CalendarSystemRenderer(Calendar calendar)
     : base(calendar)
 {
     ColorTable         = new CalendarColorTable();
     SelectedItemBorder = 1;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Shortcut to one on CalendarColorTable
 /// </summary>
 /// <param name="color"></param>
 /// <returns></returns>
 private static Color FromHex(string color)
 {
     return(CalendarColorTable.FromHex(color));
 }