ProgressBar PROB = new ProgressBar(); private void Window_Loaded(object sender, RoutedEventArgs e) { mdate.Content = DateTime.UtcNow.ToShortDateString(); DateTime dt2 = Convert.ToDateTime(mdate.Content); dt2.Date.AddDays(1); cdate.Content = dt2.ToShortDateString(); this.grid0.Children.Add(PROB); }
dt2 = d2.Date.AddDays(1);
DateTime dt = DateTime.UtcNow; mdate.Content = dt.ToShortDateString(); cdate.Content = dt.AddDays(2).ToShortDateString();
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)