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