예제 #1
0
 void NotifyChange(StickyNoteChange change)
 {
     using (var evt = StickyNoteChangeEvent.GetPooled(this, change))
     {
         SendEvent(evt);
     }
 }
예제 #2
0
        public static StickyNoteChangeEvent GetPooled(StickyNote target, StickyNoteChange change)
        {
            var evt = GetPooled();

            evt.target = target;
            evt.change = change;
            return(evt);
        }
예제 #3
0
 void NotifyChange(StickyNoteChange change)
 {
     panel.dispatcher.Dispatch(StickyNoteChangeEvent.GetPooled(this, change), panel, DispatchMode.Queued);
 }