/// <summary> /// This method is used to associate the Action Item to a method trigger event. /// </summary> /// <param name="actionServiceEvents">ActionServiceEvents interface compliant.</param> void IActionItemSuscriber.SuscribeActionEvents(IActionItemEvents actionServiceEvents) { if (actionServiceEvents != null) { actionServiceEvents.ServiceResponse += new EventHandler <ServiceResultEventArgs>(HandleServiceResponse); actionServiceEvents.SelectNextInstance += new EventHandler <SelectNextPreviousInstanceEventArgs>(HandleSelectNextInstance); actionServiceEvents.SelectPreviousInstance += new EventHandler <SelectNextPreviousInstanceEventArgs>(HandleSelectPreviousInstance); actionServiceEvents.RefreshRequired += new EventHandler <RefreshRequiredEventArgs>(HandleRefreshRequired); } }
/// <summary> /// This method is used to associate the Action Item to a method trigger event. /// </summary> /// <param name="actionServiceEvents">ActionServiceEvents interface compliant.</param> void IActionItemSuscriber.SuscribeActionEvents(IActionItemEvents actionServiceEvents) { if (actionServiceEvents != null) { actionServiceEvents.ServiceResponse += new EventHandler<ServiceResultEventArgs>(HandleServiceResponse); actionServiceEvents.SelectNextInstance += new EventHandler<SelectNextPreviousInstanceEventArgs>(HandleSelectNextInstance); actionServiceEvents.SelectPreviousInstance += new EventHandler<SelectNextPreviousInstanceEventArgs>(HandleSelectPreviousInstance); actionServiceEvents.RefreshRequired += new EventHandler<RefreshRequiredEventArgs>(HandleRefreshRequired); } }