public void ShowPopup(ExtendedPopup popup)
        {
            RemovePopup();

            popup.Editor = this;
            pData.Initialize.Invoke(popup, new object[] { GenerateID() });
            this.popup = popup;

            Repaint();
        }
        public void RemovePopup()
        {
            if (popup == null)
            {
                return;
            }

            pData.Destroy.Invoke(popup, null);
            popup = null;

            Repaint();
        }
 public void ShowPopup(ExtendedPopup popup)
 {
     Editor.ShowPopup(popup);
 }