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