Click here to Skip to main content
15,910,121 members
Home / Discussions / C#
   

C#

 
GeneralRe: how to lock a method in class Pin
ting6683-Jan-05 14:49
ting6683-Jan-05 14:49 
GeneralRe: how to lock a method in class Pin
Heath Stewart3-Jan-05 18:47
protectorHeath Stewart3-Jan-05 18:47 
QuestionIs this kind of encapsulation right for the event and delegate? Pin
Salil Khedkar30-Dec-04 20:00
Salil Khedkar30-Dec-04 20:00 
AnswerRe: Is this kind of encapsulation right for the event and delegate? Pin
Heath Stewart30-Dec-04 20:29
protectorHeath Stewart30-Dec-04 20:29 
GeneralRe: Is this kind of encapsulation right for the event and delegate? Pin
Salil Khedkar2-Jan-05 21:26
Salil Khedkar2-Jan-05 21:26 
Generalload values into the dataset form the xml Pin
dhol30-Dec-04 19:11
dhol30-Dec-04 19:11 
GeneralProgrammetically Selection of Language Pin
SoloVision30-Dec-04 18:22
SoloVision30-Dec-04 18:22 
GeneralRe: Programmetically Selection of Language Pin
Heath Stewart30-Dec-04 20:14
protectorHeath Stewart30-Dec-04 20:14 
The short answer is that you typically shouldn't. Giving users a consistent UI for control tasks is important for user understand. In some cases doing this yourself can lead to problems if you don't do everything required. For example, setting the UI language (MUI language) requires the user session to end via a reboot or having the user simply log off and back on.

On MUI-supported Windows desktop platforms you can't set the UI language (though you can set the locale). You can on Windows CE-based platforms like Pocket PC, however, by P/Invoking SetUserDefaultUILanguage.

Depending on what you're doing, though, you don't need to do this. If you only want to display a different language and/or locale for your application via the built-in localization features, simply set Culture.CurrentUICulture and/or Culture.CurrentCulture to change the language and/or locale, respectively, for the current thread. Do this before displaying any UI, otherwise you'll need to re-initialize (not necessary re-instantiate) any controls.

Read Developing World-Ready Applications[^] in the .NET Framework SDK for more information.

This posting is provided "AS IS" with no warranties, and confers no rights.

Software Design Engineer
Developer Division Sustained Engineering
Microsoft

[My Articles] [My Blog]
Generalprogramticly scroll a richtextbox Pin
Tyrus18230-Dec-04 14:46
Tyrus18230-Dec-04 14:46 
GeneralRe: programticly scroll a richtextbox Pin
Heath Stewart30-Dec-04 20:06
protectorHeath Stewart30-Dec-04 20:06 
Generalusing non true type or open type fonts Pin
Tyrus18230-Dec-04 14:43
Tyrus18230-Dec-04 14:43 
Questionwhat is wrong here ? Pin
kings_130-Dec-04 11:38
kings_130-Dec-04 11:38 
AnswerRe: what is wrong here ? Pin
Heath Stewart30-Dec-04 12:06
protectorHeath Stewart30-Dec-04 12:06 
GeneralRe: what is wrong here ? Pin
kings_130-Dec-04 19:46
kings_130-Dec-04 19:46 
GeneralRe: what is wrong here ? Pin
Heath Stewart30-Dec-04 20:01
protectorHeath Stewart30-Dec-04 20:01 
GeneralRe: what is wrong here ? Pin
kings_131-Dec-04 0:59
kings_131-Dec-04 0:59 
GeneralRe: what is wrong here ? Pin
Heath Stewart31-Dec-04 6:10
protectorHeath Stewart31-Dec-04 6:10 
GeneralRe: what is wrong here ? Pin
kings_131-Dec-04 7:15
kings_131-Dec-04 7:15 
GeneralRe: what is wrong here ? Pin
Heath Stewart31-Dec-04 8:05
protectorHeath Stewart31-Dec-04 8:05 
GeneralHidden Window Screenshot Pin
eggie530-Dec-04 10:21
eggie530-Dec-04 10:21 
GeneralRe: Hidden Window Screenshot Pin
Heath Stewart30-Dec-04 11:53
protectorHeath Stewart30-Dec-04 11:53 
GeneralRe: Hidden Window Screenshot Pin
eggie530-Dec-04 16:40
eggie530-Dec-04 16:40 
GeneralRe: Hidden Window Screenshot Pin
Heath Stewart30-Dec-04 19:51
protectorHeath Stewart30-Dec-04 19:51 
Generalgenerate a random number of the bignumber Pin
asmyan30-Dec-04 9:18
asmyan30-Dec-04 9:18 
GeneralRe: generate a random number of the bignumber Pin
Heath Stewart30-Dec-04 9:45
protectorHeath Stewart30-Dec-04 9:45 

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.