public RelationshipFigure() : base() { notation = kindNotation.Barker; fkConstraint=null; StartTerminal = new RelationshipLineTerminal (this, 8.0, 22.0, kindRelationshipTerminal.OneOne, notation, false); EndTerminal = new RelationshipLineTerminal (this, 8.0, 22.0, kindRelationshipTerminal.OneMore, notation, false); start = StartTerminal as RelationshipLineTerminal; end = EndTerminal as RelationshipLineTerminal; identifyRelationship = false; optionalityRelationship = kindOptionality.optional; this.ConnectionChanged+=ConnectionChangedHandler; //blockUntilRelease=false; }
public RelationshipLineTerminal(RelationshipFigure owner, double lDistance, double pDistance, kindRelationshipTerminal kind, kindNotation notation, bool identifying) : base() { lineDistance = lDistance; pointDistance = pDistance; parent=owner; this.kind = kind; this.Identifying = identifying; this.notation = notation; }