Example #1
0
 public void Add(IPopupObject popupObject)
 {
     if (collection.ContainsKey(popupObject.ID))
     {
         return;
     }
     collection.Add(popupObject.ID, popupObject);
     popupObject.Window = target;
 }
Example #2
0
 public void Remove(IPopupObject popupObject)
 {
     popupObject.Window = null;
     collection.Remove(popupObject.ID);
 }
Example #3
0
 public bool Contains(IPopupObject popupObject)
 {
     return(collection.ContainsKey(popupObject.ID));
 }