The following code does not show the Form's ClientSize when maximized:
WindowState = FormWindowState.Maximized;
Text = ClientSize.ToString();
How do I get that, so I can calculate Control sizes before the Form is maximized?
I rather not use hacks. I'm wondering if there is a simple way built in to Winforms. Relying on hacks like Screen WorkingArea and the like is prone to bugs. Consider, for example, what would happen if someone at some point changes the window to have a custom sized border. Will they remember/know that they have to fix this too?