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