15 references to GetCenter
System.Windows.Forms.UI.IntegrationTests (15)
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 (5)
100var startCoordinates = form.PointToScreen(GetCenter(startRect)); 192Point endCoordinates = dragDropForm.RichTextBoxDropTarget.PointToScreen(GetCenter(endRect)); 313var startCoordinates = form.PointToScreen(GetCenter(startRect)); 375var startCoordinates = form.ListDragSource.PointToScreen(GetCenter(startRect)); 377var endCoordinates = form.ListDragTarget.PointToScreen(GetCenter(endRect));
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);