1 write to _maxSelectionCount
System.Windows.Forms (1)
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.cs (1)
496
_maxSelectionCount
= value;
11 references to _maxSelectionCount
System.Windows.Forms (11)
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.cs (11)
478
get =>
_maxSelectionCount
;
483
if (value ==
_maxSelectionCount
)
658
if ((value - _selectionStart).Days >=
_maxSelectionCount
)
660
_selectionStart = value.AddDays(1 -
_maxSelectionCount
);
695
if ((_selectionEnd - value).Days >=
_maxSelectionCount
)
697
_selectionEnd = value.AddDays(
_maxSelectionCount
- 1);
1361
if (
_maxSelectionCount
!= DefaultMaxSelectionCount)
1363
PInvokeCore.SendMessage(this, PInvoke.MCM_SETMAXSELCOUNT, (WPARAM)
_maxSelectionCount
);
1852
if ((date2 - date1).Days >=
_maxSelectionCount
)
1857
date1 = date2.AddDays(1 -
_maxSelectionCount
);
1862
date2 = date1.AddDays(
_maxSelectionCount
- 1);