protected override void DeleteSuccessor(BlocksElement successor) { base.DeleteSuccessor(successor); ElementChanged(successor); }
private void ElementChanged(BlocksElement blocksElement) { if (blocksElement is Block) { RaisePropertyChanged("Block"); return; } if(blocksElement is Connection) { RaisePropertyChanged("Connection"); return; } }
protected override void DeletePredecessor(BlocksElement predecessor) { base.DeletePredecessor(predecessor); ElementChanged(predecessor); }
protected override void StoreSuccessor(BlocksElement successor) { base.StoreSuccessor(successor); ElementChanged(successor); }