|
using System;
using System.Globalization;
using System.Resources;
using System.Reflection;
namespace GlobalizedPropertyGrid
{
[AttributeUsage(AttributeTargets.Property, AllowMultiple=false, Inherited=true)]
public class GlobalizedPropertyAttribute : Attribute
{
private String resourceName = "";
private String resourceDescription = "";
private String resourceCategory = "";
private String resourceTable = "";
public GlobalizedPropertyAttribute(String name)
{
resourceName = name;
}
public String Name
{
get { return resourceName; }
set { resourceName = value; }
}
public String Description
{
get { return resourceDescription; }
set { resourceDescription = value; }
}
public String Category
{
get { return resourceCategory; }
set { resourceCategory = value; }
}
public String Table
{
get { return resourceTable; }
set { resourceTable = value; }
}
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
Nicola Dell'Amico is a freelance software developer.
Most significant skills are:
C, C++, C#, ASP.NET, wxWidgets, QT, Mono
-----
http://www.ndatech.it