Hi Guy,
Sorry for the repost. DNN's editor messed up the formatting of my post. Anyways...
I have a form set as a MDIContainer and contains a user control docked to the top of it. Additinally, in the Form_Load event, I have the following:
Form fx = new TestForm();
fx.MdiParent = this;
fx.FormBorderStyle = FormBorderStyle.None;
fx.Dock = DockStyle.Fill;
fx.Show();
When I run the project, "fx" form does not fill completely. There is a large amount of space all around the "docked fx" form. Shouldn't it behave the same way as docking user control?
(Incase you are wondering, a different approach I could take above is to just use visual inheritence. Unfortunately VWG's performance is not good when switching between forms that way. VWG seems A LOT snappier when swapping in user controls......but I don't want to design all my forms on user controls.)
BTW, I noticed when setting the MDIContainer form's background color, it doesn't work. Shouldn't it?
Thanks.
--Lenard