5 references to new
System.Windows.Forms (5)
System\Windows\Forms\Screen.cs (5)
115
s_screens = screens.Count > 0 ? [.. screens] : [
new
(s_primaryMonitor)];
251
? new
Screen
(PInvokeCore.MonitorFromPoint(point, MONITOR_FROM_FLAGS.MONITOR_DEFAULTTONEAREST))
252
: new
Screen
(s_primaryMonitor);
259
? new
Screen
(PInvokeCore.MonitorFromRect(rect, MONITOR_FROM_FLAGS.MONITOR_DEFAULTTONEAREST))
277
? new
Screen
(PInvokeCore.MonitorFromWindow((HWND)hwnd, MONITOR_FROM_FLAGS.MONITOR_DEFAULTTONEAREST))