Is there a simple way to display Windows Time zone drop down in an application in C# so the user can change it?
Is there a simple way to display Windows Time zone drop down in an application in C# so the user can change it?
I would do this as per the Microsoft Docs.
ReadOnlyCollection<TimeZoneInfo> tzCollection;
tzCollection = TimeZoneInfo.GetSystemTimeZones();
Then you could set a combobox DataSource equal to that collection like so
comboBox.DataSource = tzCollection;