2 writes to activeEditPoint
System.Workflow.ComponentModel (2)
AuthoringOM\Design\Connector.cs (2)
874
this.
activeEditPoint
= editPointHit;
909
this.
activeEditPoint
= null;
36 references to activeEditPoint
System.Workflow.ComponentModel (36)
AuthoringOM\Design\Connector.cs (36)
817
if (this.
activeEditPoint
!= null)
818
return this.
activeEditPoint
.EditedConnectionPoint;
835
if (this.
activeEditPoint
!= null)
878
return (this.
activeEditPoint
!= null);
883
if (this.
activeEditPoint
== null)
899
if (this.
activeEditPoint
== null)
908
EditPoint activeEditPoint = this.
activeEditPoint
;
1009
if (this.
activeEditPoint
!= null)
1118
if (this.
activeEditPoint
!= null)
1120
int activeEditPointIndex = this.editPoints.IndexOf(this.
activeEditPoint
);
1127
float slopeOfLine = DesignerGeometryHelper.SlopeOfLineSegment(previous.Location, this.
activeEditPoint
.Location);
1130
int editPointOffset = Convert.ToInt32(DesignerGeometryHelper.DistanceBetweenPoints(previous.Location, (next != null) ? next.Location : this.
activeEditPoint
.Location)) / 4;
1132
editPointOffset *= (previous.Location.X < this.
activeEditPoint
.Location.X) ? 1 : -1;
1134
editPointOffset *= (previous.Location.Y < this.
activeEditPoint
.Location.X) ? 1 : -1;
1136
activeEditPointIndex = this.editPoints.IndexOf(this.
activeEditPoint
);
1144
float slopeOfLine = DesignerGeometryHelper.SlopeOfLineSegment(this.
activeEditPoint
.Location, next.Location);
1147
int editPointOffset = Convert.ToInt32(DesignerGeometryHelper.DistanceBetweenPoints((previous != null) ? previous.Location : this.
activeEditPoint
.Location, next.Location)) / 4;
1149
editPointOffset *= (this.
activeEditPoint
.Location.X < next.Location.X) ? -1 : 1;
1151
editPointOffset *= (this.
activeEditPoint
.Location.Y < next.Location.Y) ? -1 : 1;
1153
activeEditPointIndex = this.editPoints.IndexOf(this.
activeEditPoint
);
1160
if (this.
activeEditPoint
.Type == EditPoint.EditPointTypes.ConnectionEditPoint)
1162
this.
activeEditPoint
.Location = newPoint;
1168
if (this.
activeEditPoint
.EditedConnectionPoint.Equals(Target))
1186
else if (this.
activeEditPoint
.Type == EditPoint.EditPointTypes.MultiSegmentEditPoint)
1191
float slopeOfLine = DesignerGeometryHelper.SlopeOfLineSegment(previous.Location, this.
activeEditPoint
.Location);
1196
slopeOfLine = DesignerGeometryHelper.SlopeOfLineSegment(this.
activeEditPoint
.Location, next.Location);
1201
this.
activeEditPoint
.Location = newPoint;
1208
else if (this.
activeEditPoint
.Type == EditPoint.EditPointTypes.MidSegmentEditPoint)
1220
this.
activeEditPoint
.Location = new Point(this.
activeEditPoint
.Location.X, newPoint.Y);
1226
this.
activeEditPoint
.Location = new Point(newPoint.X, this.
activeEditPoint
.Location.Y);
1307
if (editPoint != this.
activeEditPoint
)
1318
(this.
activeEditPoint
!= null && this.
activeEditPoint
.Type == EditPoint.EditPointTypes.ConnectionEditPoint))
1331
this.editPoints[i] == this.
activeEditPoint
||