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)
859
if (((MousePosition.X - _screenOffset.X) < form.
DesktopBounds
.Left) ||
860
((MousePosition.X - _screenOffset.X) > form.
DesktopBounds
.Right) ||
861
((MousePosition.Y - _screenOffset.Y) < form.
DesktopBounds
.Top) ||
862
((MousePosition.Y - _screenOffset.Y) > form.
DesktopBounds
.Bottom))