Here's the question:
I have a textbox and two numericUpDown's on my form. The are all bound to one date field in my database, each with different formatting. ie. The textbox shows the date as "dd/MM/yyyy", numericUpDown1 as "HH" and NumericUpDown2 as "mm".
So I have the date displayed, the hour and the minutes displayed. This works fine and the correct values do get displayed. However, when I change the hour value or minute value in the numericUpDown controls and then click on another control the NumericUpDown's 'flick' back to there original values.
I think this is because I have to use the binding's parse event to parse the numericUpDown's value into the correct date format. If i'm correct in this assumption how would I go about doing this?
I have already added code to the bindings Format events, just a bit unsure what I need to do on the Parse events.