/// <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); }
/// <summary> /// Initialize a new instance of the PaletteMonthCalendarDoubleState class. /// </summary> /// <param name="redirect">Inheritence redirection instance.</param> public PaletteMonthCalendarDoubleState(PaletteMonthCalendarRedirect redirect) : this(redirect, null) { }
/// <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); }