Esempio n. 1
0
        public void FireEditEntity(Domain.Colouring color)
        {
            Domain.Colouring c = color;
            if (c == null) c = FocusedEntity;
            if (c == null) return;

            FormColour form = new FormColour();
            form.Entity = c;
            if (form.ShowDialog() == DialogResult.OK)
            {
                _bindingList.ResetItemById(c.ID);
            }

        }
Esempio n. 2
0
        public void FireEditEntity(Domain.Colouring color)
        {
            Domain.Colouring c = color;
            if (c == null)
            {
                c = FocusedEntity;
            }
            if (c == null)
            {
                return;
            }

            FormColour form = new FormColour();

            form.Entity = c;
            if (form.ShowDialog() == DialogResult.OK)
            {
                _bindingList.ResetItemById(c.ID);
            }
        }