16 references to GetCenter
System.Windows.Forms.UI.IntegrationTests (16)
ButtonTests.cs (3)
258Point centerOfRect = GetCenter(rect); 291Point centerOfRect = GetCenter(rect); 294Point centerOfRect1 = GetCenter(rect1);
DataGridViewTests.cs (2)
28Point cellCenter = GetCenter(cellRectangle); 56Point cellCenter = GetCenter(cellRectangle);
DragDropTests.cs (6)
102var startCoordinates = form.PointToScreen(GetCenter(startRect)); 194Point endCoordinates = dragDropForm.RichTextBoxDropTarget.PointToScreen(GetCenter(endRect)); 317var startCoordinates = form.PointToScreen(GetCenter(startRect)); 379var startCoordinates = form.ListDragSource.PointToScreen(GetCenter(startRect)); 381var endCoordinates = form.ListDragTarget.PointToScreen(GetCenter(endRect)); 527var startCoordinates = form.PointToScreen(GetCenter(startRect));
Infra\ControlTestBase.cs (1)
176var centerOfRect = GetCenter(rect);
ListViewTests.cs (3)
32Point itemCenter = GetCenter(listView.RectangleToScreen(listView.Items[0].Bounds)); 494Point listViewCenter = GetCenter(listView.RectangleToScreen(listView.Items[0].SubItems[1].Bounds)); 500listViewCenter = GetCenter(listView.RectangleToScreen(listView.Items[2].SubItems[1].Bounds));
MonthCalendarTests.cs (1)
143var centerOfRect = GetCenter(rect);