6 references to DesktopBounds
System.Windows.Forms.Tests (2)
System\Windows\Forms\Design\ComponentEditorFormTests.cs (1)
76
Assert.Equal(new Rectangle(-SystemInformation.WorkingArea.X, -SystemInformation.WorkingArea.Y, control.Width, control.Height), control.
DesktopBounds
);
System\Windows\Forms\FormTests.cs (1)
75
Assert.Equal(new Rectangle(-SystemInformation.WorkingArea.X, -SystemInformation.WorkingArea.Y, 300, 300), control.
DesktopBounds
);
System.Windows.Forms.UI.IntegrationTests (4)
DragDropTests.cs (4)
857
if (((MousePosition.X - _screenOffset.X) < form.
DesktopBounds
.Left) ||
858
((MousePosition.X - _screenOffset.X) > form.
DesktopBounds
.Right) ||
859
((MousePosition.Y - _screenOffset.Y) < form.
DesktopBounds
.Top) ||
860
((MousePosition.Y - _screenOffset.Y) > form.
DesktopBounds
.Bottom))