Detecting RTL Cultures

When you develop Arabic\English applications you are bound to change you may change the Forms direction to rtl, programmatically at runtime or (1) according to user settings or (2) according to the detected OS culture.  According to user settings is straightforward but what about change it according to the detected OS. As the application loads…

0

Text Rendering

There are numerous classes presented by GDI+ and GDI for rendering text on Windows Forms. The GDI+ Graphics class has several DrawString methods that allow you to specify various features of text, such as location, bounding rectangle, font, and format. In addition, you can draw and measure text with GDI using the static DrawText and…

2

Reading and Display Dates

One of the hottest topics in globalization is the topic of dates. Today we’ll see how we can use the DateTime class in the .NET framework to read and display different date values from different calendars. The actual DateTime value is independent of the way it appears when you display it in your UI. Internally,…

2