17 references to SelectionStart
System.Windows.Forms (17)
winforms\Managed\System\WinForms\MonthCalendar.cs (17)
892
return new SelectionRange(
SelectionStart
, SelectionEnd);
2691
if (System.DateTime.Equals(calendar.
SelectionStart
.Date, calendar.SelectionEnd.Date)) {
2692
name = SR.GetString(SR.MonthCalendarSingleDateSelected, calendar.
SelectionStart
.ToLongDateString());
2695
name = SR.GetString(SR.MonthCalendarRangeSelected, calendar.
SelectionStart
.ToLongDateString(), calendar.SelectionEnd.ToLongDateString());
2699
if (System.DateTime.Equals(this.calendar.
SelectionStart
.Month, this.calendar.SelectionEnd.Month)) {
2700
name = SR.GetString(SR.MonthCalendarSingleDateSelected, calendar.
SelectionStart
.ToString("y"));
2703
name = SR.GetString(SR.MonthCalendarRangeSelected, calendar.
SelectionStart
.ToString("y"), calendar.SelectionEnd.ToString("y"));
2707
if (System.DateTime.Equals(calendar.
SelectionStart
.Year, calendar.SelectionEnd.Year)) {
2708
name = SR.GetString(SR.MonthCalendarSingleYearSelected, calendar.
SelectionStart
.ToString("yyyy"));
2711
name = SR.GetString(SR.MonthCalendarYearRangeSelected, calendar.
SelectionStart
.ToString("yyyy"), calendar.SelectionEnd.ToString("yyyy"));
2715
name = SR.GetString(SR.MonthCalendarSingleDecadeSelected, calendar.
SelectionStart
.ToString("yyyy"));
2728
if (System.DateTime.Equals(calendar.
SelectionStart
.Date, calendar.SelectionEnd.Date)) {
2729
value = calendar.
SelectionStart
.ToLongDateString();
2732
value = string.Format("{0} - {1}", calendar.
SelectionStart
.ToLongDateString(), calendar.SelectionEnd.ToLongDateString());
2736
if (System.DateTime.Equals(this.calendar.
SelectionStart
.Month, this.calendar.SelectionEnd.Month)) {
2737
value = calendar.
SelectionStart
.ToString("y");
2740
value = string.Format("{0} - {1}", calendar.
SelectionStart
.ToString("y"), calendar.SelectionEnd.ToString("y"));