Beispiel #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);
            }

        }
Beispiel #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);
            }
        }