void NotifyChange(StickyNoteChange change) { using (var evt = StickyNoteChangeEvent.GetPooled(this, change)) { SendEvent(evt); } }
public static StickyNoteChangeEvent GetPooled(StickyNote target, StickyNoteChange change) { var evt = GetPooled(); evt.target = target; evt.change = change; return(evt); }
void NotifyChange(StickyNoteChange change) { panel.dispatcher.Dispatch(StickyNoteChangeEvent.GetPooled(this, change), panel, DispatchMode.Queued); }