hello every one
i m trying to minimize the form size
but less than what it allows for me

if i do like this .. it is okey
this.Size = new Size(124, 36);

but less than these values for the width and length
it won't work..

i need to make it smaller..
im not sure if this problem makes sense

Hello.
Dunno if it will suit your problem, but as an option - you could remove the header of the window. That's gonna help you to set the size to whatever you want.

thanks alot
i set FormBorderStyle property to None
and it really works

thanks again

You're welcome .. please, mark this thread as solved if we're done with you problem :)

try this
Form1.Size = new System.Drawing.Size(100, 100);

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.