ValueChanged
issueDate
private void issueDate_ValueChanged(object sender, EventArgs e) { int monthsToAdd =10; var date = issueDate.Value.AddMonths(monthsToAdd); returnDate.Value = date; }
private void issueDate_ValueChanged(object sender, EventArgs e) { DateTime issueDate = issueDate.Value; returnDate.Value = issueDate.AddMonths(2); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)