winforms + resize

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
 
A

Alex Meleta

A> how can i turn off the resizability of the form
e.g. thisForm.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;

WBR, Alex Meleta
Blog:: devkids.blogspot.com



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

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


Top