6 writes to X1
System.Windows.Forms.Design (6)
System\Windows\Forms\Design\Behavior\DragAssistanceManager.cs (4)
832lines[i].X1 = Math.Min(dragRect.Right, lines[i].OriginalBounds.Right); 837lines[i].X1 = lines[i].OriginalBounds.Left; 843lines[i].X1 = dragRect.Right; 853lines[i].X1 = lines[i].X2 = coord;
System\Windows\Forms\Design\Behavior\DragAssistanceManager.Line.cs (2)
31X1 = x1; 40X1 = x1;
30 references to X1
System.Windows.Forms.Design (30)
System\Windows\Forms\Design\Behavior\DragAssistanceManager.cs (7)
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); 825if (lines[i].X1 == lines[i].X2) 883if (lines[i].X1 == lines[i].X2) 893_graphics.DrawLine(currentPen, lines[i].X1, lines[i].Y1, lines[i].X2, lines[i].Y2);
System\Windows\Forms\Design\Behavior\DragAssistanceManager.Line.cs (19)
50if (l1.X1 == l1.X2 && l1.X1 == l2.X1) 53new(l1.X1, Math.Min(l1.Y1, l2.Y1), l1.X1, Math.Max(l1.Y1, l2.Y1)), 54new(l1.X1, Math.Min(l1.Y2, l2.Y2), l1.X1, Math.Max(l1.Y2, l2.Y2)) 62new(Math.Min(l1.X1, l2.X1), l1.Y1, Math.Max(l1.X1, l2.X1), l1.Y1), 85if ((l1.X1 == l1.X2) && (l2.X1 == l2.X2) && (l1.X1 == l2.X1)) 87return new Line(l1.X1, Math.Min(l1.Y1, l2.Y1), l1.X2, Math.Max(l1.Y2, l2.Y2), l1.LineType); 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 (4)
125if (!horizontalComponentIdentified && line.X1 == line.X2) 128if (line.X1 == _lastRectangle.Left) 165if (!verticalComponentIdentified && line.X1 == line.X2) 186if (Math.Max(line.X1, line.X2) <= _lastRectangle.Left)