I would like to set my form to be exactly 300*300 excluding heading and borders.
If I use Size property, it does include these values.
Is there any way how t
Why not just factor in the size of the border and the title bar?
int BorderWidth = (this.Width – this.ClientSize.Width) /2; int TitlebarHeight = this.Height – this.ClientSize.Height – 2 * BorderWidth;
I found the formulas here.