B
Bud J via DotNetMonster.com
i have a form with a couple of controls in a couple of different panels with
a dockstyle set to fill and top. if i run this
this.Dock=DockStyle.Fill;
this.Location=new Point(0,0);
this.Show();
in the constructor of the main form as the app is loading all works well
but if i call the same after the main form is loaded the two panels do not
fill they remain in the same position. this seems so simple but it is very
frustrating
a dockstyle set to fill and top. if i run this
this.Dock=DockStyle.Fill;
this.Location=new Point(0,0);
this.Show();
in the constructor of the main form as the app is loading all works well
but if i call the same after the main form is loaded the two panels do not
fill they remain in the same position. this seems so simple but it is very
frustrating