By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,458 Members | 1,299 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,458 IT Pros & Developers. It's quick & easy.

Winforms Panel resize AGAIN

P: n/a

i have a little problem which is bugging me since a few days.
I am using various Forms in my application and now i came to a realy
strange situation.
The main app is a Form, when a certain userinteraction occours i open
another Form. I will call it the second Form from now on.

I have added a panel with DockStyle = Fill to the second form. Later i
draw an image to this panel (works fine).

The strange thing is, the panel does not "Fill" the Form
(DockStyle.Fill) it just stays there in the size i specify for it and
does not "max-out" to the size of the Form that holds the panel.

This only happens when i open the second form through another form ie
through a button_click (here it is my mainform)

any help is much appreciated !

Nov 16 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.