public override StandardValuesCollection GetStandardValues(ITypeDescriptorContext context)
{
if (_values == null)
{
object[] objTypes;
if (_types != null)
{
objTypes = new object[_types.Length];
Array.Copy(_types, objTypes, _types.Length);
}
else
{
objTypes = null;
}
_values = new StandardValuesCollection(objTypes);
}
return _values;
}