using System.Drawing;
using FastReport.Utils;
namespace FastReport.Dialog
{
partial class MonthCalendarControl
{
#region Protected Methods
///
protected override bool ShouldSerializeBackColor()
{
return BackColor != SystemColors.Window;
}
///
protected override bool ShouldSerializeForeColor()
{
return ForeColor != SystemColors.WindowText;
}
///
protected bool ShouldSerializeCalendarDimensions()
{
return CalendarDimensions.Width != 1 || CalendarDimensions.Height != 1;
}
///
protected override SelectionPoint[] GetSelectionPoints()
{
return new SelectionPoint[] { new SelectionPoint(AbsLeft - 2, AbsTop - 2, SizingPoint.None) };
}
#endregion
}
}