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