The Screen class is what you need. It has a Shared property PrimaryScreen that will return an instance for the primary monitor desktop. That instance has a WorkingArea property, which is a Rectangle. It's simple maths to use the dimensions of that Rectangle and those of your form to determine what value to assign to the Location of the form.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.