예제 #1
0
 private void btnShowDay_Click(object sender, EventArgs e)
 {
     selectedDate = dateTimePicker1.Value;
     ucTasks      = new UC_Day(selectedDate, taskController);
     taskController.ShowTasksForSpecificDate(selectedDate);
     AddControlsToPanel(ucTasks);
     var task = new Task(() => { this.btnShowDay.Text = "teert"; });
     // task.RunSynchronously();
 }