Click here to Skip to main content
15,915,636 members
Home / Discussions / C#
   

C#

 
GeneralMoving a file from one server to another Pin
chubbysilk2-Dec-03 4:12
chubbysilk2-Dec-03 4:12 
GeneralRe: Moving a file from one server to another Pin
Heath Stewart2-Dec-03 4:32
protectorHeath Stewart2-Dec-03 4:32 
GeneralGDI - Creating Images Pin
MrEyes2-Dec-03 3:31
MrEyes2-Dec-03 3:31 
GeneralRe: GDI - Creating Images Pin
Heath Stewart2-Dec-03 4:05
protectorHeath Stewart2-Dec-03 4:05 
GeneralRe: GDI - Creating Images Pin
MrEyes2-Dec-03 7:25
MrEyes2-Dec-03 7:25 
Generalneed source code Pin
Member 5581242-Dec-03 3:09
Member 5581242-Dec-03 3:09 
GeneralRe: need source code Pin
Christian Graus2-Dec-03 10:37
protectorChristian Graus2-Dec-03 10:37 
QuestionSaving nodes in a TreeView to an XML file? Pin
thomasa2-Dec-03 2:53
thomasa2-Dec-03 2:53 
AnswerRe: Saving nodes in a TreeView to an XML file? Pin
Heath Stewart2-Dec-03 4:00
protectorHeath Stewart2-Dec-03 4:00 
GeneralXML Comments Pin
Colin Angus Mackay2-Dec-03 0:39
Colin Angus Mackay2-Dec-03 0:39 
GeneralRe: XML Comments Pin
Heath Stewart2-Dec-03 3:41
protectorHeath Stewart2-Dec-03 3:41 
GeneralDate / Time Pickers Pin
MrEyes1-Dec-03 23:49
MrEyes1-Dec-03 23:49 
GeneralRe: Date / Time Pickers Pin
Heath Stewart2-Dec-03 3:40
protectorHeath Stewart2-Dec-03 3:40 
GeneralRe: Date / Time Pickers Pin
MrEyes2-Dec-03 3:51
MrEyes2-Dec-03 3:51 
QuestionConverting a string to System.Drawing.Color? Pin
thomasa1-Dec-03 21:53
thomasa1-Dec-03 21:53 
AnswerRe: Converting a string to System.Drawing.Color? Pin
Rocky Moore1-Dec-03 23:40
Rocky Moore1-Dec-03 23:40 
AnswerRe: Converting a string to System.Drawing.Color? Pin
je_gonzalez2-Dec-03 11:52
je_gonzalez2-Dec-03 11:52 
GeneralLocalizable Pin
CillyMe1-Dec-03 19:13
CillyMe1-Dec-03 19:13 
GeneralRe: Localizable Pin
Heath Stewart2-Dec-03 3:34
protectorHeath Stewart2-Dec-03 3:34 
GeneralRe: Localizable Pin
CillyMe2-Dec-03 4:17
CillyMe2-Dec-03 4:17 
GeneralRe: Localizable Pin
Heath Stewart2-Dec-03 4:26
protectorHeath Stewart2-Dec-03 4:26 
Actually, I think you missed my point. If you use a drop-down, this implies that you're UI is already running (unless you use a modal dialog before calling Application.Run, which can be tricky depending on a number of factors). If you do this, to change the UI culture you have to completely reset EVERY SINGLE CONTROL in your application. This is especially tedious when you have multiple forms. Switching languages while a program is running - especially larger programs - is definitely not a trivial thing.

If users require different languages on their Windows machine, then they might just have the appropriate MUI pack installed and enabled. They will see the appropriate localized UI automatically. If you just require this for testing, use the config file. If nothing else, companies that require a different localized UI can change the config file when - for native applications - they would change the registry (using the registry for .NET apps is not recommended). It's not like users are going to be changing the UI culture often, right? Smile | :) Why make it much more difficult on yourself.

That's what I was getting at - keep it simple. Assign the UI Culture before you start your application (which means the main UI thread, which will effect all threads spawned from it). You'll save yourself A LOT of trouble.

 

-----BEGIN GEEK CODE BLOCK-----
Version: 3.21
GCS/G/MU d- s: a- C++++ UL@ P++(+++) L+(--) E--- W+++ N++ o+ K? w++++ O- M(+) V? PS-- PE Y++ PGP++ t++@ 5 X+++ R+@ tv+ b(-)>b++ DI++++ D+ G e++>+++ h---* r+++ y+++
-----END GEEK CODE BLOCK-----
GeneralRe: Localizable Pin
CillyMe2-Dec-03 15:53
CillyMe2-Dec-03 15:53 
QuestionHow can i create vedio file from collection of images in C# Pin
KRathor1-Dec-03 18:43
KRathor1-Dec-03 18:43 
AnswerRe: How can i create vedio file from collection of images in C# Pin
Heath Stewart1-Dec-03 18:59
protectorHeath Stewart1-Dec-03 18:59 
GeneralRe: How can i create vedio file from collection of images in C# Pin
KRathor1-Dec-03 19:10
KRathor1-Dec-03 19:10 

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.