public AddMidPointAction(PathMidPointDrawable point)
 {
     this.isApplied = true;
     this.Midpoint = point;
     this.Parent = point.Path;
     for (int i = 0; i < Parent.UserDefinedMidPoints.Count; i++)
     {
         if (Parent.UserDefinedMidPoints[i] == Midpoint)
         {
             this.Index = i;
             break;
         }
     }
 }
 public RemoveMidPointAction(PathMidPointDrawable point)
     : base(point)
 {
     this.isApplied = false;
 }