Exemplo n.º 1
0
        private Connection ConnectSubToSuperClass(Shape parentShape, Shape childShape)
        {
            Connection conn = graphControl1.AddEdge(parentShape.Connectors[1], childShape.Connectors[0]);

            conn.LineEnd = ConnectionEnds.RightOpenArrow;

            return(conn);
        }
        private Connection Connect(Shape childShape, Shape parentShape)
        {
            Connection conn = graphControl1.AddEdge(childShape.Connectors[1], parentShape.Connectors[0]);

//			conn.From.ConnectorLocation = ConnectorLocations.South;
//			conn.To.ConnectorLocation = ConnectorLocations.North;
            conn.LineEnd = ConnectionEnds.RightOpenArrow;
            return(conn);
        }