I have a form in Visual Studio that no matter how small i make it, when i debug it goes back to what it was before. But when I make it bigger than the first width, then it lets me do that. My minimum size is set to 0,0, and inside the form, there is 1 picture, and 6 buttons. Here are some other of its properties:
(this isnt actual code, just a list of properties, stackoverflow made me indent, etc.
FormBorderStyle = FixedSingle
Size = 122,420
StartPosition = Manual
Location = 0,0
ControlBox = False
ShowIcon = false
SizeGripStyle = Hide
Are you trying to change the size of a control or the whole form ?
The code below would change the form’s size (assuming its named Form1.cs aka the default name for the 1st form created in a ado.net project) to 300 height and 300 width, it does this when the form loads, you could also add a button and use that to change the forms size.