20 references to WorkingArea
System.Windows.Forms (5)
System\Windows\Forms\Form.cs (4)
899Rectangle screen = SystemInformation.WorkingArea; 922Rectangle screen = SystemInformation.WorkingArea; 5323Rectangle workingArea = SystemInformation.WorkingArea; 5332Rectangle workingArea = SystemInformation.WorkingArea;
System\Windows\Forms\Screen.cs (1)
194_workingArea = SystemInformation.WorkingArea;
System.Windows.Forms.Tests (14)
System\Windows\Forms\Design\ComponentEditorFormTests.cs (4)
76Assert.Equal(new Rectangle(-SystemInformation.WorkingArea.X, -SystemInformation.WorkingArea.Y, control.Width, control.Height), control.DesktopBounds); 77Assert.Equal(new Point(-SystemInformation.WorkingArea.X, -SystemInformation.WorkingArea.Y), control.DesktopLocation);
System\Windows\Forms\FormTests.cs (4)
75Assert.Equal(new Rectangle(-SystemInformation.WorkingArea.X, -SystemInformation.WorkingArea.Y, 300, 300), control.DesktopBounds); 76Assert.Equal(new Point(-SystemInformation.WorkingArea.X, -SystemInformation.WorkingArea.Y), control.DesktopLocation);
System\Windows\Forms\SystemInformationTests.cs (2)
800Rectangle workingArea = SystemInformation.WorkingArea; 805Assert.Equal(workingArea, SystemInformation.WorkingArea);
System\Windows\Forms\ToolStripDropDownTests.cs (4)
136Assert.Equal(SystemInformation.WorkingArea.X + 2, control.Right); 1931expected.X = Math.Max(expected.X, SystemInformation.WorkingArea.X); 1932expected.Y = Math.Max(expected.Y, SystemInformation.WorkingArea.Y); 1934if (expectedLocationChangedCallCount == 0 && SystemInformation.WorkingArea.Location != Point.Empty)
System.Windows.Forms.UI.IntegrationTests (1)
DragDropTests.cs (1)
706_screenOffset = SystemInformation.WorkingArea.Location;