public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
{
if (destinationType == typeof(string))
{
string result = null;
if ((int)value == 0)
{
result = "Single";
}
else if ((int)value == 1)
{
result = "Slideshow";
}
if (result != null) return result;
}
return base.ConvertTo(context, culture, value, destinationType);
}