Csharp Form Minimum Maximum Size Test
We started discussing the size of a "program" and I made a minimal test that illustrates the MaximumSize and MinimumSize members of a form (and the Resize eventhandler).
By default a form can be made pretty small:
By adding something like this (probably only the second line) you get a decent minimal seize
this.MaximumSize = new System.Drawing.Size(800, 600); this.MinimumSize = new System.Drawing.Size(320, 240);
I added the sizes in the title bar of the form.
Tillhör Kategori Programmering.