bool ModifyLinkControlPoints(ServiceProtocol serviceProtocol, Int64 requestID, Guid guid, List <PointF> controlPoints) { if (true) // Decide whether to modify an item. { // We're going to do it. // Modify the item. // Raise event(s). serviceProtocol.DoLinkControlPointsModified(requestID, guid, controlPoints); return(true); } else { // We're not going to do it. return(false); } }
bool ModifyLinkControlPoints(ServiceProtocol serviceProtocol, Int64 requestID, Guid guid, List<PointF> controlPoints) { if (true) // Decide whether to modify an item. { // We're going to do it. // Modify the item. // Raise event(s). serviceProtocol.DoLinkControlPointsModified(requestID, guid, controlPoints); return true; } else { // We're not going to do it. return false; } }