Exemple #1
0
 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));
 }
Exemple #2
0
 public Point3L(Point2L point, long z)
 {
     this.X = point.X;
     this.Y = point.Y;
     this.Z = z;
 }
Exemple #3
0
 public Vector2L(Point2L from)
 {
     this.X = from.X;
     this.Y = from.Y;
 }