Example #1
0
        protected static bool RaiseBeginningEvent(DrawOperation op)
        {
            var e = new DrawOperationBeginningEventArgs(op);

            BeginningEvent.Raise(e);
            return(!e.Cancel);
        }
Example #2
0
 protected static void RaiseEndedEvent(DrawOperation op)
 {
     EndedEvent.Raise(new DrawOperationEventArgs(op));
 }
Example #3
0
 protected static void RaiseBeganEvent(DrawOperation op)
 {
     BeganEvent.Raise(new DrawOperationEventArgs(op));
 }