public override void PopupClosed(IPopupControl popup)
        {
            FAHookPopup ppp = FindPopup(popup);

            if (ppp != null)
            {
                Popups.Remove(ppp);
                ppp.Dispose();
            }
        }
        protected virtual FAHookPopup FindPopup(IPopupControl popup)
        {
            for (int n = 0; n < Popups.Count; n++)
            {
                FAHookPopup ppp = Popups[n] as FAHookPopup;
                if (ppp.Popup == popup)
                {
                    return(ppp);
                }
            }

            return(null);
        }