B2024-058-RevisionDate-field-Print-dialog

This commit is contained in:
Paul Larsen 2024-08-08 15:21:11 -04:00
parent 4248d40917
commit d7f829737a

View File

@ -1235,6 +1235,11 @@ namespace VEPROMS
{ {
txbRevDate.Focus(); txbRevDate.Focus();
} }
else
{
DateTime initSelDate = (txbDate.Text != null && txbDate.Text.Length != 0) ? Convert.ToDateTime(txbDate.Text) : DateTime.Today;
calDateSelector.DisplayMonth = calDateSelector.SelectedDate = initSelDate;
}
} }
private void txbRevDate_Validating(object sender, EventArgs e) private void txbRevDate_Validating(object sender, EventArgs e)