winforms + resize issue

G

Guest

hi,
i'm a newbie to winforms..
in my application..i've created a main form..
i show the other forms as dialog form on click event of buttons of my
mainform ...
but, here is a small problem..the forms which i show as dialog are resizable..
I can drag or shrink the form..which i dont to happen..
how can i turn off the resizability of the form
 
D

Diogo

hi,
i'm a newbie to winforms..
in my application..i've created a main form..
i show the other forms as dialog form on click event of buttons of my
mainform ...
but, here is a small problem..the forms which i show as dialog are resizable..
I can drag or shrink the form..which i dont to happen..
how can i turn off the resizability of the form

Look at Properties of your form and find FormBorderStyle. Set it to
FixedDialog
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

winforms + resize 1
autoscaling of winforms 1
Popup in Winforms 2
Winforms and WPF - where to start 2
WinForms and COM Interop 2
Reusing closed Winforms 11
Winforms security issue 4
autoscaling of winforms 1

Top