Exemplo n.º 1
0
 public override void RemoveObject(object Parent)
 {
     if (Parent is VObjectCollection)
     {
         VObjectCollection Content = Parent as VObjectCollection;
         Content.Remove(FName[this.CurrParent][this.CurrChild], FMatch[this.CurrParent][this.CurrChild]);
     }
 }
Exemplo n.º 2
0
        private void VObjectChangedHandler(object sender, System.EventArgs e)
        {
            if (_updatingChildren)
            {
                return;
            }

            VObject vobj = sender as VObject;

            if (vobj != null && vobj.IsDisposed)
            {
                _children.Remove(vobj);
            }

            _matrix.Reset();

            UpdateBaseRectangle();
            UpdateChildMatrices();
            UpdateControlPointsState();
            base.OnChanged(System.EventArgs.Empty);
        }