PC Review


Reply
Thread Tools Rate Thread

Control Property name

 
 
Jochen Stuempfig
Guest
Posts: n/a
 
      16th Feb 2004
Hello NG,

i saw a lot of posts about the problem that in the compactframework the
control class has no name property.
i can't beleive that the solutions in the ng are the correct way to solve my
problem.

what i need is that users can switch the language at runtime. my idea was to
set the cultureinfo to the needed language and get the text for the controls
from an resource file. the problem is now, that i can't use an foreach loop
to iterate through the controls and read the attributes from the resource
file with the controls name.

are there any other informations about a way to solve this problem? or am i
on the wrong way? is there another way to switch the language using cf?

greets jochen



 
Reply With Quote
 
 
 
 
William Ryan eMVP
Guest
Posts: n/a
 
      16th Feb 2004
Check out Chris Tacke's article, this should do it for you...
http://blog.opennetcf.org/ctacke/Per...a-2ae2de4bdaf1
"Jochen Stuempfig" <(E-Mail Removed)> wrote in message
news:c0rfos$1431cf$(E-Mail Removed)...
> Hello NG,
>
> i saw a lot of posts about the problem that in the compactframework the
> control class has no name property.
> i can't beleive that the solutions in the ng are the correct way to solve

my
> problem.
>
> what i need is that users can switch the language at runtime. my idea was

to
> set the cultureinfo to the needed language and get the text for the

controls
> from an resource file. the problem is now, that i can't use an foreach

loop
> to iterate through the controls and read the attributes from the resource
> file with the controls name.
>
> are there any other informations about a way to solve this problem? or am

i
> on the wrong way? is there another way to switch the language using cf?
>
> greets jochen
>
>
>



 
Reply With Quote
 
Jochen Stuempfig
Guest
Posts: n/a
 
      17th Feb 2004
Thank you, thats exactly what i want.

greets jochen

"William Ryan eMVP" <(E-Mail Removed)> schrieb im Newsbeitrag
news:(E-Mail Removed)...
> Check out Chris Tacke's article, this should do it for you...
>

http://blog.opennetcf.org/ctacke/Per...a-2ae2de4bdaf1
> "Jochen Stuempfig" <(E-Mail Removed)> wrote in message
> news:c0rfos$1431cf$(E-Mail Removed)...
> > Hello NG,
> >
> > i saw a lot of posts about the problem that in the compactframework the
> > control class has no name property.
> > i can't beleive that the solutions in the ng are the correct way to

solve
> my
> > problem.
> >
> > what i need is that users can switch the language at runtime. my idea

was
> to
> > set the cultureinfo to the needed language and get the text for the

> controls
> > from an resource file. the problem is now, that i can't use an foreach

> loop
> > to iterate through the controls and read the attributes from the

resource
> > file with the controls name.
> >
> > are there any other informations about a way to solve this problem? or

am
> i
> > on the wrong way? is there another way to switch the language using cf?
> >
> > greets jochen
> >
> >
> >

>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Exposing control property as list of items on property sheet... Charlie@CBFC Microsoft Dot NET Framework Forms 0 17th Nov 2006 05:31 PM
can a custom control have an image property that can be set in design time from the property browser? news.austin.rr.com Microsoft Dot NET Compact Framework 3 3rd Mar 2005 02:08 AM
Custom Control Property HelpText Property =?Utf-8?B?R3JleUFsaWVuMDA3?= Microsoft Dot NET Framework Forms 1 20th Jan 2005 06:17 AM
Adding code property to control property window NuBBeR Microsoft C# .NET 1 7th Oct 2004 05:15 PM
How to throw and catch an exception in the property set when property is bound to a wiform control Keith Roe Microsoft Dot NET Framework 2 4th Dec 2003 05:05 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:50 AM.