public override object Clone() { ProgEntityDrawing obj = (ProgEntityDrawing)base.Clone(); if (_label != null) { obj.SetLabel((DrawingLabel)_label.Clone()); } return(obj); }
public override object Clone() { ComponentIcon obj = (ComponentIcon)base.Clone(); obj._classId = _classId; obj._img = _img; obj._memberId = _memberId; obj._componentPointer = _componentPointer; obj._designer = _designer; obj._messageReturn = _messageReturn; if (_label != null) { obj._label = (DrawingLabel)_label.Clone(); obj._label.SetOwner(obj); } return(obj); }