/// <summary>
        /// Initializes a new instance of the <see cref="MonthCalendarAbstractRenderer"/> class.
        /// </summary>
        /// <param name="calendar">
        /// The corresponding <see cref="EnhancedMonthCalendar"/>.
        /// </param>
        /// <exception cref="ArgumentNullException">
        /// If <paramref name="calendar"/> is null.
        /// </exception>
        protected MonthCalendarAbstractRenderer(EnhancedMonthCalendar calendar)
        {
            if (calendar == null)
            {
                throw new ArgumentNullException("calendar", "Parameter '_calendar' cannot be null.");
            }

            this._calendar = calendar;
        }
 /// <summary>
 /// Initializes a new instance of the <see cref="MonthCalendarRenderer"/> class.
 /// </summary>
 /// <param name="calendar">
 /// The corresponding <see cref="EnhancedMonthCalendar"/>.
 /// </param>
 public MonthCalendarRenderer(EnhancedMonthCalendar calendar)
     : base(calendar)
 {
     this._calendar = calendar;
 }
            /// <summary>
            /// Initializes a new instance of the <see cref="MonthCalendarControlDesignerActionList"/> class.
            /// </summary>
            /// <param name="component">
            /// The component.
            /// </param>
            public MonthCalendarControlDesignerActionList(IComponent component)
                : base(component)
            {
                Type compType = component.GetType();

                if (component == null || (compType != typeof(EnhancedMonthCalendar) && compType != typeof(EnhancedDatePicker)))
                {
                    throw new InvalidOperationException("MonthCalendarDesigner : component is null or not of the correct type.");
                }

                if (compType == typeof(EnhancedDatePicker))
                {
                    this.cal = ((EnhancedDatePicker)component).PickerCalendar;
                }
                else
                {
                    this.cal = (EnhancedMonthCalendar)component;
                }

                this.iccs = (IComponentChangeService)this.GetService(typeof(IComponentChangeService));

                this.designerUISvc = (DesignerActionUIService)this.GetService(typeof(DesignerActionUIService));
            }