dtpyear.DisplayDateEnd = DateTime.Now;
private void Window_Loaded_1(object sender, RoutedEventArgs e) { int year = DateTime.Now.Year; dtpyear.DisplayDateEnd = new DateTime(year, 12, 31); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)