C#/.NET DateTimePicker replacement that "respects" e.g. the CurrentUICulture
- by S.C. Madsen
Apparently the DateTimePicker does not "respect" or adhere to the CurrentUICulture of a .NET application, because DateTimePicker is a "Native" Common-control with a .NET wrapper (I think).
I have a C#/.NET Winforms application which uses custom-format for the DateTimePickers. Everything seems to be running smoothely except for the "AM/PM" part, which is not shown (I'm guessing this is due to the regional settings of my PC).
I have a requirement to display "AM/PM" regardless of the regional settings of the PC running my .NET Winforms application. I would rather not re-implement my own DateTimePicker control, which adheres to the CurrentIUCulture. So does anybody know of a work-around or have a link to DateTimePicker control re-implementation?