27 lines
619 B
C#
27 lines
619 B
C#
|
using System;
|
||
|
using System.Collections.Generic;
|
||
|
using System.Text;
|
||
|
using System.ComponentModel;
|
||
|
|
||
|
#if Microsoft_CONTROL
|
||
|
namespace System.Windows.Forms.DataVisualization.Charting
|
||
|
#else
|
||
|
namespace System.Web.UI.DataVisualization.Charting
|
||
|
#endif
|
||
|
{
|
||
|
[AttributeUsage(AttributeTargets.All)]
|
||
|
internal sealed class SRCategoryAttribute : CategoryAttribute
|
||
|
{
|
||
|
// Methods
|
||
|
public SRCategoryAttribute(string category)
|
||
|
: base(category)
|
||
|
{
|
||
|
}
|
||
|
|
||
|
protected override string GetLocalizedString(string value)
|
||
|
{
|
||
|
return SR.Keys.GetString(value);
|
||
|
}
|
||
|
}
|
||
|
}
|