Example #1
0
        void showhide(object v, EventArgs ev)
        {
            ArrayList l = new ArrayList();

            foreach (GuiActive mm in active_objects)
            {
                l.Add(new WrappedElement(this, mm));
            }

            ShowHideDialog.Process(cview.FindForm(), l, proj.icon_list);
        }
Example #2
0
        public void showhide(object o, EventArgs ev)
        {
            ArrayList l = new ArrayList();

            if (st != null && st.Members != null)
            {
                foreach (UmlMember mm in st.Members)
                {
                    l.Add(new WrappedMember(this, mm));
                }
            }

            ObjectState before = GetState();
            bool        done   = ShowHideDialog.Process(parent.cview.FindForm(), l, parent.proj.project_icon_list);

            if (done)
            {
                RefreshContent();
                parent.Undo.Push(new StateOperation(this, before, GetState()), false);
            }
        }