예제 #1
0
 private void InvokeOnHandler(EClipingModuleOperationType type, int value)
 {
     if (this.ClipingOperationEventHandlerDelegate != null)
     {
         EventArgs e2 = new ClipingEventArgs()
         {
             Type     = type,
             Position = value,
         };
         object[] args = new object[] { null, e2 };
         foreach (Delegate handler in this.ClipingOperationEventHandlerDelegate.GetInvocationList())
         {
             handler.DynamicInvoke(args);
         }
     }
 }
 private void InvokeOnHandler(EClipingModuleOperationType type, int value)
 {
     if (this.ClipingOperationEventHandlerDelegate != null)
     {
         EventArgs e2 = new ClipingEventArgs()
         {
             Type = type,
             Position = value,
         };
         object[] args = new object[] { null, e2 };
         foreach (Delegate handler in this.ClipingOperationEventHandlerDelegate.GetInvocationList())
         {
             handler.DynamicInvoke(args);
         }
     }
 }