Example #1
0
        public override object ConvertTo(ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value, Type destinationType)
        {
            if (destinationType == typeof(System.String) && value is PathCardN)
            {
                PathCardN so = (PathCardN)value;

                return(so.ToString());
            }
            return(base.ConvertTo(context, culture, value, destinationType));
        }