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)
78Assert.Equal(new Rectangle(-SystemInformation.WorkingArea.X, -SystemInformation.WorkingArea.Y, control.Width, control.Height), control.DesktopBounds); 79Assert.Equal(new Point(-SystemInformation.WorkingArea.X, -SystemInformation.WorkingArea.Y), control.DesktopLocation);
System\Windows\Forms\FormTests.cs (4)
77Assert.Equal(new Rectangle(-SystemInformation.WorkingArea.X, -SystemInformation.WorkingArea.Y, 300, 300), control.DesktopBounds); 78Assert.Equal(new Point(-SystemInformation.WorkingArea.X, -SystemInformation.WorkingArea.Y), control.DesktopLocation);
System\Windows\Forms\SystemInformationTests.cs (2)
802Rectangle workingArea = SystemInformation.WorkingArea; 807Assert.Equal(workingArea, SystemInformation.WorkingArea);
System\Windows\Forms\ToolStripDropDownTests.cs (4)
138Assert.Equal(SystemInformation.WorkingArea.X + 2, control.Right); 1933expected.X = Math.Max(expected.X, SystemInformation.WorkingArea.X); 1934expected.Y = Math.Max(expected.Y, SystemInformation.WorkingArea.Y); 1936if (expectedLocationChangedCallCount == 0 && SystemInformation.WorkingArea.Location != Point.Empty)
System.Windows.Forms.UI.IntegrationTests (1)
DragDropTests.cs (1)
765_screenOffset = SystemInformation.WorkingArea.Location;