14 references to FromPoint
System.Windows.Forms (10)
System\Windows\Forms\Form.cs (2)
3669desktop = Screen.FromPoint(MousePosition); 3910desktop = !hWndOwner.IsNull ? Screen.FromHandle(hWndOwner) : Screen.FromPoint(MousePosition);
System\Windows\Forms\Screen.cs (2)
283public static Rectangle GetWorkingArea(Point pt) => FromPoint(pt).WorkingArea; 298public static Rectangle GetBounds(Point pt) => FromPoint(pt).Bounds;
System\Windows\Forms\ToolTip\ToolTip.cs (6)
1317Screen screen = Screen.FromPoint(cursorLocation); 1930Screen screen = Screen.FromPoint(moveToLocation); 2086Screen screen = Screen.FromPoint(Cursor.Position); 2182Screen screen = Screen.FromPoint(cursorPos); 2204Screen screen = Screen.FromPoint(tipInfo.Position); 2239Screen screen = Screen.FromPoint(Cursor.Position);
System.Windows.Forms.Design (1)
System\ComponentModel\Design\DesignerActionPanel.cs (1)
234Rectangle rectScreen = Screen.FromPoint(rectangleAnchor.Location).WorkingArea;
System.Windows.Forms.Tests (3)
System\Windows\Forms\ScreenTests.cs (3)
117Screen screen = Screen.FromPoint(point); 151Screen screen = Screen.FromPoint(point); 181Screen screen = Screen.FromPoint(point);