protected override void SetBoundsCore(int x, int y, int width, int height, BoundsSpecified specified) { Rectangle rectWorkArea = SystemInformation.VirtualScreen; if (y + height > rectWorkArea.Bottom) y -= (y + height) - rectWorkArea.Bottom; if (y < rectWorkArea.Top) y += rectWorkArea.Top - y; base.SetBoundsCore(x, y, width, height, specified); }