(ITypeDescriptorContext context, Type destinationType)
| 178 | return ((sourceType == typeof(string)) || base.CanConvertFrom(context, sourceType)); |
| 179 | } |
| 180 | public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) |
| 181 | { |
| 182 | return ((destinationType == typeof(PointF)) || base.CanConvertTo(context, destinationType)); |
| 183 | } |
| 184 | public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) |
| 185 | { |
| 186 | if (culture == null) |
nothing calls this directly
no test coverage detected