private void ClearEdgeBp() { if(_edgeBp == null) return; _graphArea.RemoveCustomChildControl(_edgeBp.EdgePath); _edgeBp.Dispose(); _edgeBp = null; }
private void ClearEdgeBp() { if (_edgeBp == null) { return; } _graphArea.RemoveCustomChildControl(_edgeBp.EdgePath); _edgeBp.Dispose(); _edgeBp = null; }
public void CreateVirtualEdge(VertexControl source, Point mousePos) { _edgeBp = new EdgeBlueprint(source, mousePos, (LinearGradientBrush)_rd["EdgeBrush"]); _graphArea.InsertCustomChildControl(0, _edgeBp.EdgePath); }