Exemple #1
0
        private void node_DeletedInNodeCollection(object sender, EventArgs e)
        {
            RemoveFromCanvas();

            StartPort.ConnectedConnectors.Remove(this);
            EndPort.ConnectedConnectors.Remove(this);

            EndPort.CalculateData();
        }
Exemple #2
0
        public void Delete()
        {
            RemoveFromCanvas();

            StartPort.ConnectedConnectors.Remove(this);
            EndPort.ConnectedConnectors.Remove(this);

            EndPort.CalculateData();
        }