public ConvertTo ( ITypeDescriptorContext context, |
||
context | ITypeDescriptorContext | |
culture | ||
value | object | |
destinationType | Type | |
return | object |
public GLine(Point aPoint1, Point aPoint2) { PointConverter aPointConverter = new PointConverter(); FPoint1 = (PointF)aPointConverter.ConvertTo(aPoint1, typeof(PointF)); FPoint2 = (PointF)aPointConverter.ConvertTo(aPoint2, typeof(PointF)); }