KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
For some reason if you set both of the width and the height of Form.MaximumSize to zero it will let you have an unrestricted window size, however if you want to set a limit you have to do it for both width and height at the same time. I want a fixed width but no limit on height. // No Limits this.MaximumSize = new Size(0,0); // Form Height will be stuck at 0 int ArbitraryWidth = 200; this.MaximumSize = new Size(ArbitraryWidth, 0);
Tags (comma-separated)
Save Edits
Cancel