1 write to _maxSelectionCount
System.Windows.Forms (1)
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.cs (1)
490
_maxSelectionCount
= value;
11 references to _maxSelectionCount
System.Windows.Forms (11)
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.cs (11)
472
get =>
_maxSelectionCount
;
477
if (value ==
_maxSelectionCount
)
652
if ((value - _selectionStart).Days >=
_maxSelectionCount
)
654
_selectionStart = value.AddDays(1 -
_maxSelectionCount
);
689
if ((_selectionEnd - value).Days >=
_maxSelectionCount
)
691
_selectionEnd = value.AddDays(
_maxSelectionCount
- 1);
1355
if (
_maxSelectionCount
!= DefaultMaxSelectionCount)
1357
PInvokeCore.SendMessage(this, PInvoke.MCM_SETMAXSELCOUNT, (WPARAM)
_maxSelectionCount
);
1846
if ((date2 - date1).Days >=
_maxSelectionCount
)
1851
date1 = date2.AddDays(1 -
_maxSelectionCount
);
1856
date2 = date1.AddDays(
_maxSelectionCount
- 1);