ConvertTo() 공개 메소드

public ConvertTo ( ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType ) : object
context ITypeDescriptorContext
culture System.Globalization.CultureInfo
value object
destinationType Type
리턴 object
예제 #1
0
파일: GLine.cs 프로젝트: prosardar/BAD
 public GLine(Point aPoint1, Point aPoint2)
 {
     PointConverter aPointConverter = new PointConverter();
     FPoint1 = (PointF)aPointConverter.ConvertTo(aPoint1, typeof(PointF));
     FPoint2 = (PointF)aPointConverter.ConvertTo(aPoint2, typeof(PointF));
 }