Click here to Skip to main content
15,891,744 members
Home / Discussions / C#
   

C#

 
QuestionVS 2005 Image control Pin
Dextter19-May-08 1:33
Dextter19-May-08 1:33 
AnswerRe: VS 2005 Image control Pin
leppie19-May-08 2:30
leppie19-May-08 2:30 
QuestionSolution Structure Pin
mark_w_19-May-08 0:44
mark_w_19-May-08 0:44 
AnswerRe: Solution Structure Pin
Christian Graus19-May-08 0:50
protectorChristian Graus19-May-08 0:50 
GeneralRe: Solution Structure [modified] Pin
mark_w_19-May-08 0:52
mark_w_19-May-08 0:52 
AnswerRe: Solution Structure Pin
Simon P Stevens19-May-08 1:02
Simon P Stevens19-May-08 1:02 
AnswerRe: Solution Structure Pin
tgrt19-May-08 1:43
tgrt19-May-08 1:43 
QuestionGlobalization question Pin
Glen Harvy19-May-08 0:28
Glen Harvy19-May-08 0:28 
Hi,

Using an article from Code Project I have "globalized" my application however I think I have "over done it".

The user can select from English OR Spanish and then I run the following code...

      CultureInfo objCI = new CultureInfo(MainForm.culture);<br />
      Thread.CurrentThread.CurrentUICulture = objCI;<br />
<br />
      this.xrLabelHeader.Text = MainForm.RM.GetString("0312");<br />
      this.xrLabelAmtReceived.Text = MainForm.RM.GetString("0194");<br />
      this.xrLabelSNumber.Text = MainForm.RM.GetString("0314");


This works fine but now I think I've stuffed it up for users that don't use Spanish or English (in this case en-US) because I haven't returned the culture back to the computers system after setting the text labels etc.

Presumably I should have read the users culture first, changed it whilst setting the text files etc, and then returned the culture back to the computers so that other formatting rules apply (currency symbol etc).

Can someone confirm the above please or point me in the right direction.

Thanks,

Glen Harvy

AnswerRe: Globalization question Pin
carbon_golem19-May-08 1:57
carbon_golem19-May-08 1:57 
GeneralRe: Globalization question Pin
Glen Harvy19-May-08 2:18
Glen Harvy19-May-08 2:18 
QuestionHow to create custom control Pin
Krish Agn19-May-08 0:23
Krish Agn19-May-08 0:23 
AnswerRe: How to create custom control Pin
Christian Graus19-May-08 0:32
protectorChristian Graus19-May-08 0:32 
GeneralRe: How to create custom control Pin
Krish Agn19-May-08 0:54
Krish Agn19-May-08 0:54 
GeneralRe: How to create custom control Pin
Christian Graus19-May-08 0:58
protectorChristian Graus19-May-08 0:58 
GeneralRe: How to create custom control Pin
Krish Agn20-May-08 0:06
Krish Agn20-May-08 0:06 
QuestionClass library for file compression Pin
Krishnaraj Barvathaya B19-May-08 0:21
Krishnaraj Barvathaya B19-May-08 0:21 
AnswerRe: Class library for file compression Pin
Christian Graus19-May-08 0:33
protectorChristian Graus19-May-08 0:33 
GeneralRe: Class library for file compression Pin
dan!sh 19-May-08 1:38
professional dan!sh 19-May-08 1:38 
AnswerRe: Class library for file compression Pin
Guffa19-May-08 2:25
Guffa19-May-08 2:25 
AnswerRe: Class library for file compression Pin
Mike Dimmick19-May-08 2:31
Mike Dimmick19-May-08 2:31 
QuestionAbout:Moving child window along with Parent Window Pin
RameshwerE19-May-08 0:09
RameshwerE19-May-08 0:09 
AnswerRe: About:Moving child window along with Parent Window Pin
Christian Graus19-May-08 0:16
protectorChristian Graus19-May-08 0:16 
GeneralRe: About:Moving child window along with Parent Window Pin
RameshwerE19-May-08 0:39
RameshwerE19-May-08 0:39 
GeneralRe: About:Moving child window along with Parent Window Pin
Christian Graus19-May-08 0:51
protectorChristian Graus19-May-08 0:51 
QuestionAbout Sending Mail Pin
cool_samia_naz18-May-08 22:52
cool_samia_naz18-May-08 22:52 

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.