1 write to OriginalBounds
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\Behavior\DragAssistanceManager.cs (1)
965
line.
OriginalBounds
= bounds;
12 references to OriginalBounds
System.Windows.Forms.Design (12)
System\Windows\Forms\Design\Behavior\DragAssistanceManager.cs (12)
827
int coord = Math.Max(dragRect.Top, lines[i].
OriginalBounds
.Top);
828
coord += (Math.Min(dragRect.Bottom, lines[i].
OriginalBounds
.Bottom) - coord) / 2;
832
lines[i].X1 = Math.Min(dragRect.Right, lines[i].
OriginalBounds
.Right);
833
lines[i].X2 = Math.Max(dragRect.Left, lines[i].
OriginalBounds
.Left);
837
lines[i].X1 = lines[i].
OriginalBounds
.Left;
844
lines[i].X2 = lines[i].
OriginalBounds
.Right;
851
int coord = Math.Max(dragRect.Left, lines[i].
OriginalBounds
.Left);
852
coord += (Math.Min(dragRect.Right, lines[i].
OriginalBounds
.Right) - coord) / 2;
856
lines[i].Y1 = Math.Min(dragRect.Bottom, lines[i].
OriginalBounds
.Bottom);
857
lines[i].Y2 = Math.Max(dragRect.Top, lines[i].
OriginalBounds
.Top);
861
lines[i].Y1 = lines[i].
OriginalBounds
.Top;
868
lines[i].Y2 = lines[i].
OriginalBounds
.Bottom;