c# - Localization issues PropertyEditor -


I am using PropertyEditor in the .NET 3.5 application to allow some serial classes to edit the settings contained in it. This app needs localization to support multiple languages. Local strings are implemented using standard NAT resources.

Property Editors need to be set through Category, Display Name and Description attribute. [Category's contribution ("some categories"), DisplayNameAttribute ("some names"), description ("some details"), editor attribute (typef (some editors), typef (system drawing. Some people of type [received]; Set;}

but the compiler does not allow me to use the resource string in the attribute value, thus changing the first line:

 < Code> [CategoryAttribute (resources.labels .Some Categories),  

Generates an error: The expression being assigned to "certain settings." The expression should be continuous. "

How can someone help me in the right way? Transfer the property editor into WinForms?

A few months ago I came to the same problem

I'm not sure that I liked this way, but I do not know about any option.


Comments

Popular posts from this blog

sql - dynamically varied number of conditions in the 'where' statement using LINQ -

asp.net mvc - Dynamically Generated Ajax.BeginForm -

Debug on symbian -