6 writes to Y1
System.Windows.Forms.Design (6)
System\Windows\Forms\Design\Behavior\DragAssistanceManager.cs (4)
829lines[i].Y1 = lines[i].Y2 = coord; 856lines[i].Y1 = Math.Min(dragRect.Bottom, lines[i].OriginalBounds.Bottom); 861lines[i].Y1 = lines[i].OriginalBounds.Top; 867lines[i].Y1 = dragRect.Bottom;
System\Windows\Forms\Design\Behavior\DragAssistanceManager.Line.cs (2)
32Y1 = y1; 41Y1 = y1;
28 references to Y1
System.Windows.Forms.Design (28)
System\Windows\Forms\Design\Behavior\DragAssistanceManager.cs (5)
372invalidRect = new Rectangle(diffs[k].X1, diffs[k].Y1, diffs[k].X2 - diffs[k].X1, diffs[k].Y2 - diffs[k].Y1); 393invalidRect = new Rectangle(line.X1, line.Y1, line.X2 - line.X1, line.Y2 - line.Y1); 893_graphics.DrawLine(currentPen, lines[i].X1, lines[i].Y1, lines[i].X2, lines[i].Y2);
System\Windows\Forms\Design\Behavior\DragAssistanceManager.Line.cs (18)
53new(l1.X1, Math.Min(l1.Y1, l2.Y1), l1.X1, Math.Max(l1.Y1, l2.Y1)), 59if (l1.Y1 == l1.Y2 && l1.Y1 == l2.Y1) 62new(Math.Min(l1.X1, l2.X1), l1.Y1, Math.Max(l1.X1, l2.X1), l1.Y1), 63new(Math.Min(l1.X2, l2.X2), l1.Y1, Math.Max(l1.X2, l2.X2), l1.Y1) 87return new Line(l1.X1, Math.Min(l1.Y1, l2.Y1), l1.X2, Math.Max(l1.Y2, l2.Y2), l1.LineType); 91if ((l1.Y1 == l1.Y2) && (l2.Y1 == l2.Y2) && (l1.Y1 == l2.Y2)) 93return new Line(Math.Min(l1.X1, l2.X1), l1.Y1, Math.Max(l1.X2, l2.X2), l1.Y2, l1.LineType); 100$"Line, type = {LineType}, dims =({X1}, {Y1})->({X2}, {Y2})";
System\Windows\Forms\Design\Behavior\ToolboxItemSnapLineBehavior.cs (5)
143else if (!verticalComponentIdentified && line.Y1 == line.Y2) 146if (line.Y1 == _lastRectangle.Top) 152else if (line.Y1 == _lastRectangle.Bottom) 168if (Math.Max(line.Y1, line.Y2) <= _lastRectangle.Top) 183else if (!horizontalComponentIdentified && line.Y1 == line.Y2)