4 references to GetWorkingArea
System.Windows.Forms (2)
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDown.cs (1)
552
return Screen.
GetWorkingArea
(Bounds).Size - Padding.Size;
System\Windows\Forms\Internal\WinFormsUtils.cs (1)
65
return ConstrainToBounds(Screen.
GetWorkingArea
(bounds), bounds);
System.Windows.Forms.Tests (2)
System\Windows\Forms\ScreenTests.cs (1)
190
Assert.Equal(screen.WorkingArea, Screen.
GetWorkingArea
(rectangle));
System\Windows\Forms\ToolStripDropDownTests.cs (1)
116
Assert.Equal(Screen.
GetWorkingArea
(new Rectangle(0, 0, 100, 25)).Size - new Size(2, 4), control.MaxItemSize);