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