473,387 Members | 1,465 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

c# PropertyGrid with resource

My problem based on a multilingual interface.
I display the Properties in a PropertyGrid - no proplem at all.
I have properties defined like this one:

[System.ComponentModel.Browsable(true),
System.ComponentModel.Description("Type your Path"),
System.ComponentModel.Category("Pathstructure")]
public string WebImagePath
{
get
{
return sWebImagePath;
}
set
{
sWebImagePath = value;
}
}

now - I need to translate the Description to different Languages - how
can I do this with the ResourceManager in this case?

Thanks for any suggestions.
Manfred
Nov 16 '05 #1
1 3893
You might want to check out this article on Code Project

http://www.codeproject.com/cs/miscct..._revisited.asp

I don't know if there's an easier built-in way to do it, but that should
work for you.

Pete

"Manfred" <je***@centralnet.ch> wrote in message
news:f6**************************@posting.google.c om...
My problem based on a multilingual interface.
I display the Properties in a PropertyGrid - no proplem at all.
I have properties defined like this one:

[System.ComponentModel.Browsable(true),
System.ComponentModel.Description("Type your Path"),
System.ComponentModel.Category("Pathstructure")]
public string WebImagePath
{
get
{
return sWebImagePath;
}
set
{
sWebImagePath = value;
}
}

now - I need to translate the Description to different Languages - how
can I do this with the ResourceManager in this case?

Thanks for any suggestions.
Manfred

Nov 16 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Ron M. Newman | last post by:
Hi, Simple imaginary problem: 1) I have a class with three integers in it. 2) An object of this class is a member of a class I will submit to a propertygrid 3) I want to have a custom dialog...
4
by: phcmi | last post by:
I have a PropertyGrid question. My task is to replace a legacy dialog box presentation with a modern one. The dialog itself allows the user to set configuration settings in our application, so...
1
by: moni | last post by:
Hi, I was hoping to know, how I could change the text of the associated control in a property grid to bold, on an event propertyGrid1_PropertyValueChanged(object s,...
4
by: =?Utf-8?B?UGV0ZXI=?= | last post by:
I have assigned an existing object to propertygrid.selectedobject property. But I only want some of the object's properties not browsable and/or readonly. How can I do that? I'm trying to find...
3
by: Redivivus | last post by:
Hi Ho to use dropdown in propertygrid with values from database? Lets say i have table ITEMS and columns ID, NAME Now i want to select id, name from items and display those values in...
2
by: Marco Segurini | last post by:
Hi All, I have a form containing only a PropertyGrid that I use to modify an instance of the following class: class MyClass { Point _point = new Point();
4
by: =?Utf-8?B?SHVnaA==?= | last post by:
Hi there I have a Propertygrid in a C# project that has a number of IP addresses displayed. What I would like to do is to a) Edit them in-place as the 4 octets, ie edit them as xxx.xxx.xxx.xxx...
4
by: Rohan | last post by:
I need to use the Collection editor of the propertyGrid, but i can't this to work, i looked around on the NET on collection and I am kinda lost. i have this so far, i don't know what i should do...
2
by: John Hewitt | last post by:
I am currently able to change a PropertyGrid to select a particular GridItem by iterating through the current selected GridItem parent.GridItem's However, This selects and focuses on the Label of...
2
by: matthijsdezwart | last post by:
Hi, I was wondering if someone can help me out with a propertygrid problem. Someone else made a program where I insert my script. This script has some propertíes, which are specified like: ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.