16 references to GetCenter
System.Windows.Forms.UI.IntegrationTests (16)
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 (6)
102
var startCoordinates = form.PointToScreen(
GetCenter
(startRect));
194
Point endCoordinates = dragDropForm.RichTextBoxDropTarget.PointToScreen(
GetCenter
(endRect));
317
var startCoordinates = form.PointToScreen(
GetCenter
(startRect));
379
var startCoordinates = form.ListDragSource.PointToScreen(
GetCenter
(startRect));
381
var endCoordinates = form.ListDragTarget.PointToScreen(
GetCenter
(endRect));
527
var startCoordinates = form.PointToScreen(
GetCenter
(startRect));
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);