On a wpf application i have a DatePicker, and, a TimePicker ( from the Extended WPF Toolkit). These two contrôls return a DateTime Value.
I would like to store the result of this two control in a one DateTime variable.
I tried :
myNewEvenement.dDate = DateTimePicker_Date.SelectedDate.Value;
myNewEvenement.dDate += (DateTime)TimePicker_Heure.Value;
But i cannot compile this code.
Any idea please ?
Thanks a lot