Windows Develop Bookmark and Share   
 index > Windows Forms Designer > Distortion in C# .NET Windows Application when run in Japanese XP
 

Distortion in C# .NET Windows Application when run in Japanese XP

Hello,

I have developed a windows application for my project in Visual Studio2005, using C# .NET 2.0.
It is developed in English (US) XP.
But when the application is run in a Japanese system (with Japanese XP), all the controls like labels, textbox, buttons etc. change size. And due to this the text at many places truncate. The main form size remains same but all other controls shrink upwards leaving a blank space at the bottom of the form.

I tried changing the regional settings to Japanese in my system and run the GUI. But it seems fine here.

Please suggest me how to handle this regional settings.

-Harsh
harsh bolia  Tuesday, March 31, 2009 11:14 AM
The controsl supports unicode?... try setting the UseCompatibleTextRemdering property.
Tabas  Thursday, April 02, 2009 4:54 AM

Hi harsh bolia,

I have met the same problem before. When I developed an application in Chinese OS and run it on English OS, it displays strange as you said. There is no document talking about this issue.

Base on my experience, in different language OS, the installed font is different. When we develop it on Chinese OS, the default font is "Song Ti". While in English OS, the "Song Ti" is not included by default until you installed "East Asia Language".

My advice is put enough space for the buttons/labels etc. Use common font family. Change the region and language setting to Japanese on the English develop pc. It might avoid some problem.

Sincerely,
Kira Qian


Please mark the replies as answers if they help and unmark if they don't.
Kira Qian  Thursday, April 02, 2009 3:14 AM
The controsl supports unicode?... try setting the UseCompatibleTextRemdering property.
Tabas  Thursday, April 02, 2009 4:54 AM

You can use google to search for other answers

Custom Search

More Threads

• Refreshing sizing box/drag handles when hosting form designer
• How to set an event when the desing-time is initalizing?
• Enabling / Disabling visibility of properties in property grid
• How to resize ComboBox?
• setting negative padding for header text in datagridview control.
• Serializing collections and compilation
• the designer could not be shown for this file because none of the classes within it can be designed
• Running 3rd party program inside tab control with no API
• This forum has moved the week of 12/8/2008
• DisplayMember and ValueMember Attributes in Custom Control