62 references to DateTimePicker
System.Windows.Forms (62)
winforms\Managed\System\WinForms\DateTimePicker.cs (37)
128
/// <para>Initializes a new instance of the <see cref='System.Windows.Forms.
DateTimePicker
'/> class.</para>
405
/// <para>Indicates whether the <see cref='System.Windows.Forms.
DateTimePicker
.Value'/> property has been set.</para>
430
NativeMethods.SYSTEMTIME sys =
DateTimePicker
.DateTimeToSysTime(Value);
685
DateTime minSupportedDate =
DateTimePicker
.MinimumDateTime;
699
DateTime maxSupportedDate =
DateTimePicker
.MaximumDateTime;
731
throw new ArgumentOutOfRangeException("MaxDate", SR.GetString(SR.DateTimePickerMaxDate, FormatDateTime(
DateTimePicker
.MaxDateTime)));
786
throw new ArgumentOutOfRangeException("MinDate", SR.GetString(SR.DateTimePickerMinDate, FormatDateTime(
DateTimePicker
.MinimumDateTime)));
1035
NativeMethods.SYSTEMTIME sys =
DateTimePicker
.DateTimeToSysTime(value);
1148
NativeMethods.SYSTEMTIME sys =
DateTimePicker
.DateTimeToSysTime(Value);
1216
/// <para>Raises the <see cref='System.Windows.Forms.
DateTimePicker
.CloseUp'/>
1225
/// <para>Raises the <see cref='System.Windows.Forms.
DateTimePicker
.DropDown'/> event.</para>
1267
/// <para>Raises the <see cref='System.Windows.Forms.
DateTimePicker
.ValueChanged'/> event.</para>
1339
/// <para>Resets the <see cref='System.Windows.Forms.
DateTimePicker
.Format'/> property to its default
1347
/// <para>Resets the <see cref='System.Windows.Forms.
DateTimePicker
.MaxDate'/> property to its default value. </para>
1354
/// <para>Resets the <see cref='System.Windows.Forms.
DateTimePicker
.MinDate'/> property to its default value. </para>
1361
/// <para> Resets the <see cref='System.Windows.Forms.
DateTimePicker
.Value'/> property to its default value.</para>
1379
NativeMethods.SYSTEMTIME sys =
DateTimePicker
.DateTimeToSysTime(value);
1439
NativeMethods.SYSTEMTIME sys =
DateTimePicker
.DateTimeToSysTime(min);
1448
sys =
DateTimePicker
.DateTimeToSysTime(max);
1483
/// <para> Determines if the <see cref='System.Windows.Forms.
DateTimePicker
.CalendarForeColor'/> property needs to be
1491
/// <para>Determines if the <see cref='System.Windows.Forms.
DateTimePicker
.CalendarFont'/> property needs to be persisted.</para>
1498
/// <para>Determines if the <see cref='System.Windows.Forms.
DateTimePicker
.CalendarTitleBackColor'/> property needs to be persisted.</para>
1505
/// <para>Determines if the <see cref='System.Windows.Forms.
DateTimePicker
.CalendarTitleForeColor'/> property needs to be persisted.</para>
1512
/// <para>Determines if the <see cref='System.Windows.Forms.
DateTimePicker
.CalendarTrailingForeColor'/> property needs to be persisted.</para>
1519
/// <para>Determines if the <see cref='System.Windows.Forms.
DateTimePicker
.CalendarMonthBackground'/> property needs to be persisted.</para>
1526
/// <para>Determines if the <see cref='System.Windows.Forms.
DateTimePicker
.MaxDate'/> property needs to be persisted.</para>
1533
/// <para>Determines if the <see cref='System.Windows.Forms.
DateTimePicker
.MinDate'/> property needs to be persisted.</para>
1540
/// <para>Determines if the <see cref='System.Windows.Forms.
DateTimePicker
.Value'/> property needs to be persisted.</para>
1547
/// <para>Determines if the <see cref='System.Windows.Forms.
DateTimePicker
.Format'/> property needs to be persisted.</para>
1617
value =
DateTimePicker
.SysTimeToDateTime(nmdtc.st);
1751
public DateTimePickerAccessibleObject(
DateTimePicker
owner) : base(owner) {
1800
if(((
DateTimePicker
)Owner).ShowCheckBox &&
1801
((
DateTimePicker
)Owner).Checked) {
1840
if (patternId == NativeMethods.UIA_TogglePatternId && ((
DateTimePicker
)Owner).ShowCheckBox) {
1851
return ((
DateTimePicker
)Owner).Checked ?
1858
((
DateTimePicker
)Owner).Checked = !((
DateTimePicker
)Owner).Checked;
winforms\Managed\System\WinForms\MonthCalendar.cs (25)
580
return
DateTimePicker
.EffectiveMaxDate(maxDate);
584
if (value <
DateTimePicker
.EffectiveMinDate(minDate)) {
635
return
DateTimePicker
.EffectiveMinDate(minDate);
639
if (value >
DateTimePicker
.EffectiveMaxDate(maxDate)) {
645
if (value <
DateTimePicker
.MinimumDateTime) {
646
throw new ArgumentOutOfRangeException("MinDate", SR.GetString(SR.InvalidLowBoundArgumentEx, "MinDate", FormatDate(value), FormatDate(
DateTimePicker
.MinimumDateTime)));
1061
return
DateTimePicker
.SysTimeToDateTime(st).Date;
1533
range.Start =
DateTimePicker
.SysTimeToDateTime(st);
1538
range.End =
DateTimePicker
.SysTimeToDateTime(st);
1590
return new HitTestInfo(new Point(mchi.pt_x, mchi.pt_y), hitArea,
DateTimePicker
.SysTimeToDateTime(sys));
1636
NativeMethods.SYSTEMTIME st =
DateTimePicker
.DateTimeToSysTime(todayDate);
1990
SetRange(
DateTimePicker
.EffectiveMinDate(minDate),
DateTimePicker
.EffectiveMaxDate(maxDate));
2016
NativeMethods.SYSTEMTIME sys =
DateTimePicker
.DateTimeToSysTime(minDate);
2021
sys =
DateTimePicker
.DateTimeToSysTime(maxDate);
2153
NativeMethods.SYSTEMTIME sys =
DateTimePicker
.DateTimeToSysTime(lower);
2158
sys =
DateTimePicker
.DateTimeToSysTime(upper);
2204
return maxDate !=
DateTimePicker
.MaximumDateTime && maxDate != DateTime.MaxValue;
2212
return minDate !=
DateTimePicker
.MinimumDateTime && minDate != DateTime.MinValue;
2261
st =
DateTimePicker
.DateTimeToSysTime(todayDate);
2291
DateTime start = selectionStart =
DateTimePicker
.SysTimeToDateTime(nmmcsc.stSelStart);
2292
DateTime end = selectionEnd =
DateTimePicker
.SysTimeToDateTime(nmmcsc.stSelEnd);
2315
DateTime start =
DateTimePicker
.SysTimeToDateTime(nmmcds.stStart);
2351
DateTime start = selectionStart =
DateTimePicker
.SysTimeToDateTime(nmmcsc.stSelStart);
2352
DateTime end = selectionEnd =
DateTimePicker
.SysTimeToDateTime(nmmcsc.stSelEnd);