示例#1
0
 void OnDestinationNodeChanged(EdgeEventArgs args)
 {
     UpdateNetworkEdge(args.Edge);
 }
示例#2
0
 void OnSourceNodeChanged(EdgeEventArgs args)
 {
     UpdateNetworkEdge(args.Edge);
 }
示例#3
0
 void OnAnchoringModeChanged(EdgeEventArgs args)
 {
     UpdateNetworkEdge(args.Edge);
 }
示例#4
0
 void OnEdgeLButtonDblClick(EdgeEventArgs args)
 {
     var edge = args.Edge;
     edge.Label.BeginEdit();
 }
 void RaiseSourceNodeChanged()
 {
     if (SourceNodeChanged != null)
     {
         EdgeEventArgs args = new EdgeEventArgs(Diagram, this);
         SourceNodeChanged(args);
     }
 }
 void RaiseDestinationNodeChanged()
 {
     if (DestinationNodeChanged != null)
     {
         EdgeEventArgs args = new EdgeEventArgs(Diagram, this);
         DestinationNodeChanged(args);
     }
 }
 void RaiseAnchoringModeChanged()
 {
     if (AnchoringModeChanged != null)
     {
         EdgeEventArgs args = new EdgeEventArgs(Diagram, this);
         AnchoringModeChanged(args);
     }
 }