public override object ConvertFrom( ITypeDescriptorContext context, CultureInfo culture, object value) { if (value.GetType() == typeof(string)) { return((object)Point2L.Parse((string)value)); } return(base.ConvertFrom(context, culture, value)); }
public Point3L(Point2L point, long z) { this.X = point.X; this.Y = point.Y; this.Z = z; }
public Vector2L(Point2L from) { this.X = from.X; this.Y = from.Y; }