An object which represents an event to perform on the multiform manager after the update loop has finished.
Exemple #1
0
 private void ApplyOrQueueEvent(MultiformPostUpdateEvent evt)
 {
     if (Updating)
     {
         PostUpdateEvents.Add(evt);
     }
     else if (ApplyingPostUpdateEvents)
     {
         PostUpdateEventQueue.Add(evt);
     }
     else
     {
         // Perform it immediately if we're not updating or applying PostUpdateEvents.
         evt.Perform(RegisteredMultiforms, ActiveMultiforms);
     }
 }
 private void ApplyOrQueueEvent(MultiformPostUpdateEvent evt)
 {
     if (Updating)
     {
         PostUpdateEvents.Add(evt);
     }
     else if (ApplyingPostUpdateEvents)
     {
         PostUpdateEventQueue.Add(evt);
     }
     else
     {
         // Perform it immediately if we're not updating or applying PostUpdateEvents.
         evt.Perform(RegisteredMultiforms, ActiveMultiforms);
     }
 }