Click here to Skip to main content
15,894,539 members
Home / Discussions / Windows Forms
   

Windows Forms

 
AnswerRe: How can i load image from Application Folder by using Short url( like ~\Images\default.jpeg ,but not working) to PictureBox Pin
Eddy Vluggen11-Apr-11 4:49
professionalEddy Vluggen11-Apr-11 4:49 
AnswerRe: How can i load image from Application Folder by using Short url( like ~\Images\default.jpeg ,but not working) to PictureBox Pin
Shameel26-Apr-11 2:18
professionalShameel26-Apr-11 2:18 
QuestionRemote Desktop Label Printing Pin
Ianvn.za5-Apr-11 20:36
professionalIanvn.za5-Apr-11 20:36 
AnswerRe: Remote Desktop Label Printing Pin
Member 20530066-Apr-11 4:43
Member 20530066-Apr-11 4:43 
QuestionHow do I design/implement paging for Winforms apps/UI Controls using large data sets. Pin
johnbMA3-Apr-11 6:25
johnbMA3-Apr-11 6:25 
AnswerRe: How do I design/implement paging for Winforms apps/UI Controls using large data sets. Pin
Dave Kreskowiak3-Apr-11 8:58
mveDave Kreskowiak3-Apr-11 8:58 
AnswerRe: How do I design/implement paging for Winforms apps/UI Controls using large data sets. Pin
Eddy Vluggen11-Apr-11 4:46
professionalEddy Vluggen11-Apr-11 4:46 
QuestionLocalization and form size [modified] Pin
T.RATHA KRISHNAN31-Mar-11 7:04
T.RATHA KRISHNAN31-Mar-11 7:04 
Hi!
I've localized my application to languages like English_US,Chinese_Simplified,Chinese_Traditional,Thai,Greek,Spanish,Japanese.
I've added these languages to a list box. I've get currently selected from the list and uses it to get the culture info. I've also set different font's for the form according to the list selection(Why because languages like Chines,Japanese and Korean were not displayed with out the corresponding font). Here's the code:
switch(listIndex)
{
 case 0:
        cultureCode = "en-US";             //Culture code for English US
        this->Font = System::Drawing::Font(L"Microsoft Sans Serif",8);
        break;
 case 1:
        cultureCode = "zh-CN";             //Culture code for Chinese_Simplified   
        this->Font = System::Drawing::Font(L"Simsun",8);  
        break;
 case 2:
        cultureCode = "fr-FR"               //Culture code for French
        this->Font = System::Drawing::Font(L"Verdana",8);
        break;
 default:
}
System.Globalization.CultureInfo ci = new System.Globalization.CultureInfo("cultureCode"); 
System.Threading.Thread.CurrentThread.CurrentCulture = ci; 
System.Threading.Thread.CurrentThread.CurrentUICulture = ci; 


My problem is:
(i) size of my form shrinks when I select any language other than English. This doesn't happen always. If I set the font through code as above, the size of the form shrinks. If I didn't set the font through code, Chinese,Japanese and Korean languages can't be displayed. What to do to display these languages as well as to keep the form size constant?

(ii) Which font is required to display Korean language?

modified on Thursday, March 31, 2011 1:19 PM

AnswerRe: Localization and form size Pin
Bernhard Hiller31-Mar-11 23:06
Bernhard Hiller31-Mar-11 23:06 
QuestionRe: Localization and form size Pin
T.RATHA KRISHNAN1-Apr-11 3:17
T.RATHA KRISHNAN1-Apr-11 3:17 
AnswerRe: Localization and form size Pin
RobCroll5-Apr-11 4:26
RobCroll5-Apr-11 4:26 
QuestionRunning SWF file from Windows Forms Pin
pix_programmer31-Mar-11 3:19
pix_programmer31-Mar-11 3:19 
AnswerRe: Running SWF file from Windows Forms Pin
Dave Kreskowiak31-Mar-11 3:34
mveDave Kreskowiak31-Mar-11 3:34 
GeneralRe: Running SWF file from Windows Forms Pin
pix_programmer31-Mar-11 3:50
pix_programmer31-Mar-11 3:50 
GeneralRe: Running SWF file from Windows Forms Pin
Dave Kreskowiak31-Mar-11 6:05
mveDave Kreskowiak31-Mar-11 6:05 
GeneralRe: Running SWF file from Windows Forms Pin
pix_programmer31-Mar-11 6:23
pix_programmer31-Mar-11 6:23 
GeneralRe: Running SWF file from Windows Forms Pin
Dave Kreskowiak31-Mar-11 9:54
mveDave Kreskowiak31-Mar-11 9:54 
AnswerRe: App Modal Dialogs + Desktop Pin
Richard MacCutchan9-Mar-11 5:58
mveRichard MacCutchan9-Mar-11 5:58 
GeneralRe: App Modal Dialogs + Desktop Pin
Richard MacCutchan9-Mar-11 6:10
mveRichard MacCutchan9-Mar-11 6:10 
Questionhow to limit the number of winform objects to one Pin
John Robert Wilk24-Feb-11 5:26
John Robert Wilk24-Feb-11 5:26 
AnswerRe: how to limit the number of winform objects to one Pin
Luc Pattyn24-Feb-11 5:50
sitebuilderLuc Pattyn24-Feb-11 5:50 
GeneralRe: how to limit the number of winform objects to one Pin
John Robert Wilk24-Feb-11 6:44
John Robert Wilk24-Feb-11 6:44 
AnswerRe: how to limit the number of winform objects to one Pin
Luc Pattyn24-Feb-11 6:49
sitebuilderLuc Pattyn24-Feb-11 6:49 
GeneralRe: how to limit the number of winform objects to one Pin
John Robert Wilk24-Feb-11 6:53
John Robert Wilk24-Feb-11 6:53 
AnswerRe: how to limit the number of winform objects to one Pin
Manfred Rudolf Bihy9-Mar-11 11:58
professionalManfred Rudolf Bihy9-Mar-11 11:58 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.