diff --git a/MainWindow.axaml.cs b/MainWindow.axaml.cs index 64cf54a..e9764ca 100644 --- a/MainWindow.axaml.cs +++ b/MainWindow.axaml.cs @@ -43,6 +43,10 @@ namespace PLG_Exam RenewColors(); this.Closing += MainWindow_Closing; + + if(DatumField.SelectedDate.HasValue == false){ + DatumField.SelectedDate = DateTime.Now; + } }