How to make a Non-Resizeable Form *For Beginners*

Use this board to post your code snippets - tips and tricks
5 posts Page 1 of 1
Contributors
User avatar
3aaBrSbeel
Top Poster
Top Poster
Posts: 139
Joined: Fri Jun 01, 2012 9:34 am

Hello, 3aaBrSBeel here!

I'm gonna show you how to make your Form a Non-Resizeable Form.
We will not be doing it in the FormBorderStyle. Because it's not in there.

Ok, we just need to change the Auto Size Mode to GrowAndShrink

There is a Picture Attached to this Post!

Thanks! Hope this helped.
You do not have the required permissions to view the files attached to this post.
Code'n'Stuff Signature Of 3aaBrSbeel
®║▌│█│║▌║││█║▌║▌║▌
✔ Verified Official Code'n'Stuff account ᵀᴴᴱ ᴼᴿᴵᴳᴵᴻᴬᴸ
Image
User avatar
comathi
Coding God
Coding God
Posts: 1242
Joined: Fri Mar 26, 2010 1:59 pm

Actually, the property to make a form non-resizable is located in the FormBorderStyle property. All you have to do is set it to FixedSingle.
User avatar
MrAksel
C# Coder
C# Coder
Posts: 1758
Joined: Fri Mar 26, 2010 12:27 pm

FormBorderStyle.FixedSingle would be better, you can then edit the layout way easier ;)
LMAOSHMSFOAIDMT
Laughing my a** of so hard my sombrero fell off and I dropped my taco lmao;


Over 30 projects with source code!
Please give reputation to helpful members!

Image
Image
User avatar
smashapps
Coding Guru
Coding Guru
Posts: 961
Joined: Tue Apr 05, 2011 8:41 am

With grow wouldn't it then be able to get bigger than not smaller? I wouldn't want that on my applications.

Another way is set the minimum and maximum size to what ever you want.
My name is Tom | Visit my blog where I post new content every day! Tom's Daily Blog | MineCraft is awesome!
User avatar
3aaBrSbeel
Top Poster
Top Poster
Posts: 139
Joined: Fri Jun 01, 2012 9:34 am

I know it's easy to edit it in FormBorderStyle which you can set it to FixedSingle or other kind. This tutorial is about how to make it simple and look professional. I kinda don't want it to look in FixedSingle.
Code'n'Stuff Signature Of 3aaBrSbeel
®║▌│█│║▌║││█║▌║▌║▌
✔ Verified Official Code'n'Stuff account ᵀᴴᴱ ᴼᴿᴵᴳᴵᴻᴬᴸ
Image
5 posts Page 1 of 1
Return to “Quick Snips”