Пример #1
0
 public override object ConvertTo(ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value, Type destinationType)
 {
     return(Converter.Convert(convObj, destinationType));
 }
Пример #2
0
 public override object ConvertFrom(ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value)
 {
     return(Converter.Convert(value, convObj.GetType()));
 }