public ShapeTool(int id, ImageSource source, IShapeCreate creator) { Id = id; Source = source; this.creator = creator; }
public static void SetShapeCreate(DependencyObject obj, IShapeCreate value) { obj.SetValue(ShapeCreateProperty, value); }