I am trying to position a form in the bottom left hand corner of the screen (on the start button) I have the following code that attempts to do this, but only takes into account the work area of the screen – so the form is positioned just above the start button:
int x = Screen.PrimaryScreen.WorkingArea.Left + this.Width;
int y = Screen.PrimaryScreen.WorkingArea.Bottom - this.Height;
this.Location = new Point(x, y);
A demo / screen is below to further demonstrate what I am trying to do:
](https://i.stack.imgur.com/7FpU1.png)
Use
Screen.PrimaryScreen.Boundsproperties and setthis.TopMost = true. this works: