public virtual IDrawObject Clone() { try { ImgeTool imgeTool = new ImgeTool(); imgeTool.Copy(this); return(imgeTool); } catch (Exception ex) { throw ex; } }
public virtual void Copy(ImgeTool acopy) { try { base.Copy(acopy); location = acopy.location; img = acopy.img; imageStr = acopy.imageStr; width = acopy.width; height = acopy.height; Selected = acopy.Selected; } catch (Exception ex) { throw ex; } }