7 writes to MinDate
PresentationUI (2)
MS\Internal\Documents\RequestedSignatureDialog.cs (1)
34_dateTimePicker.MinDate = DateTime.Now;
MS\Internal\Documents\RMPublishingDialog.cs (1)
54datePickerValidUntil.MinDate = DateTime.Today.AddDays(1);
System.Windows.Forms (1)
System\Windows\Forms\Controls\DateTimePicker\DateTimePicker.cs (1)
1241MinDate = MinimumDateTime;
System.Windows.Forms.Tests (4)
System\Windows\Forms\DateTimePickerTests.cs (4)
405_dateTimePicker.MinDate = expectedDate; 412Action act = () => _dateTimePicker.MinDate = DateTimePicker.MaximumDateTime.AddDays(1); 415act = () => _dateTimePicker.MinDate = DateTimePicker.MinimumDateTime.AddDays(-1); 424_dateTimePicker.MinDate = newMinDate;
8 references to MinDate
System.Windows.Forms (4)
System\Windows\Forms\Controls\DateTimePicker\DateTimePicker.cs (4)
874if ((value < MinDate) || (value > MaxDate)) 883$"'{nameof(MinDate)}'", 1237/// Resets the <see cref="MinDate"/> property to its default value. 1409/// Determines if the <see cref="MinDate"/> property needs to be persisted.
System.Windows.Forms.Tests (4)
System\Windows\Forms\DateTimePickerTests.cs (4)
93Assert.Equal(new DateTime(1753, 1, 1), control.MinDate); 402_dateTimePicker.MinDate.ToString().Should().Be("1/1/1753 12:00:00 AM"); 406_dateTimePicker.MinDate.Should().Be(expectedDate); 426_dateTimePicker.MinDate.Should().Be(newMinDate);