Set the form's MinimumSize and MaximumSize properties. For example:
private void Form1_Load(object sender, EventArgs e) { this.MinimumSize = new Size(300, SystemInformation.CaptionHeight); this.MaximumSize = new Size(300, Screen.PrimaryScreen.WorkingArea.Height); }
|