예제 #1
0
        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);
            }
        }
예제 #2
0
  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;
    }
  }