winforms + resize

  • Thread starter Thread starter Guest
  • Start date Start date
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> 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
 
Back
Top