Beispiel #1
0
        public void ShowPopup(ExtendedPopup popup)
        {
            RemovePopup();

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

            Repaint();
        }
Beispiel #2
0
        public void RemovePopup()
        {
            if (popup == null)
            {
                return;
            }

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

            Repaint();
        }
Beispiel #3
0
 public void ShowPopup(ExtendedPopup popup)
 {
     Editor.ShowPopup(popup);
 }