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