コード例 #1
0
 protected override void ProcessAddConnShape(ConnectionPort StartPort, ConnectionPort EndPort)
 {
     BaseConnShape Line = new AssociationConnShape();
     Connection StartConn = new Connection(StartPort, Line);
     Connection EndConn = new Connection(EndPort, Line);
     StartPort.AddConnection(StartConn);
     EndPort.AddConnection(EndConn);
     Line.UpdateConeection(StartConn, EndConn);
     Panel.AddShape(Line);
     Line.setDepth(DefaultDepth);
     Panel.UpdateDepth();      
 }
コード例 #2
0
 public Connection(ConnectionPort _Port, BaseConnShape _Conn)
 {
     Port = _Port;
     Conn = _Conn;
 }
コード例 #3
0
 protected abstract void ProcessAddConnShape(ConnectionPort StartPort, ConnectionPort EndPort);
コード例 #4
0
 public Connection(ConnectionPort _Port, BaseConnShape _Conn)
 {
     Port = _Port;
     Conn = _Conn;
 }