Exemplo n.º 1
0
 /// <summary>
 /// Initialize a new instance of the PaletteMonthCalendarDoubleState class.
 /// </summary>
 /// <param name="redirect">Inheritence redirection instance.</param>
 /// <param name="needPaint">Delegate for notifying paint requests.</param>
 public PaletteMonthCalendarDoubleState(PaletteMonthCalendarRedirect redirect,
                                        NeedPaintHandler needPaint)
     : base(redirect, needPaint)
 {
     Header    = new PaletteTriple(redirect.Header, needPaint);
     Day       = new PaletteTriple(redirect.Day, needPaint);
     DayOfWeek = new PaletteTriple(redirect.DayOfWeek, needPaint);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Initialize a new instance of the PaletteMonthCalendarDoubleState class.
 /// </summary>
 /// <param name="redirect">Inheritence redirection instance.</param>
 public PaletteMonthCalendarDoubleState(PaletteMonthCalendarRedirect redirect)
     : this(redirect, null)
 {
 }
Exemplo n.º 3
0
 /// <summary>
 /// Initialize a new instance of the PaletteMonthCalendarState class.
 /// </summary>
 /// <param name="redirect">Inheritence redirection instance.</param>
 /// <param name="needPaint">Delegate for notifying paint requests.</param>
 public PaletteMonthCalendarState(PaletteMonthCalendarRedirect redirect,
                                  NeedPaintHandler needPaint)
 {
     Day = new PaletteTriple(redirect.Day, needPaint);
 }