Quote:
When Maximized the Form gets cutoff on all edges by 9 Pixels...
This isn't true, the form is overlapping the screen area by 9 pixels.
I'm currently on the very same problem, where my not perfect solution is to set this.MaximizedBounds like this:
private void frmMain_LocationChanged(object sender, EventArgs e)
{
Rectangle b = Screen.FromHandle(this.Handle).WorkingArea;
this.MaximizedBounds = new Rectangle(0, 0, (b.Width - 1), b.Height);
}
Not perfect because there is a 1 pixel stripe to the right of the maximized form, but setting it to
private void frmMain_LocationChanged(object sender, EventArgs e)
{
Rectangle b = Screen.FromHandle(this.Handle).WorkingArea;
this.MaximizedBounds = new Rectangle(0, 0, b.Width, b.Height);
}
(suggested to not overlap the taskbar) the original problem is there again.