Exemple #1
0
        private void mi_removeEvent(object sender, EventArgs e)
        {
            EventPath ep = this.Parent as EventPath;

            if (ep != null)
            {
                ClassPointer root = ep.Panes.Loader.GetRootId();
                EventClass   ec   = this.CustomEvent;
                if (ec.ClassId == root.ClassId)
                {
                    root.AskDeleteEvent(ec, this.FindForm());
                }
            }
        }