Ejemplo n.º 1
0
        void unitFreeLayoutPanel_ItemClick(object sender, EventArgs e)
        {
            EventArgsForDrawing eafd = new EventArgsForDrawing();

            eafd.Sender = this;

            if (DictionaryChanged != null)
            {
                DictionaryChanged(sender, eafd);
            }
        }
Ejemplo n.º 2
0
        void gp_DictionaryChanged(object sender, EventArgs e)
        {
            if (ItemClick != null)
            {
                EventArgsForDrawing eafd = e as EventArgsForDrawing;
                if (eafd != null)
                {
                    IGroupPanel oneGroupPanel = eafd.Sender as IGroupPanel;
                    RestoreExceptOne(oneGroupPanel);
                }

                ItemClick(sender, e);
            }
        }