protected override void Delete() { var command = new DeleteDelegateParameter(shape); command.Execute(); shape.Diagram.TrackCommand(command); }
protected internal override bool DeleteSelectedMember(bool showConfirmation) { if (IsActive && ActiveParameter != null) { if (!showConfirmation || ConfirmMemberDelete()) { var command = new DeleteDelegateParameter(this); command.Execute(); diagram.TrackCommand(command); } return(true); } else { return(false); } }