S
stumorgan
Is there something wrong with the CenterToParent method? I have an
MDI container form, created a new form and set
newForm.MdiParent = this;
from the container form. The child form has its StartPosition set to
CenterParent yet still shows at the top left of the parent form. If I
call CenterToParent after showing the form, nothing happens. I can
call CenterToScreen and it works just fine. I'm using VS2008
with .NET framework version 3.5.
Any ideas? Thanks in advance.
MDI container form, created a new form and set
newForm.MdiParent = this;
from the container form. The child form has its StartPosition set to
CenterParent yet still shows at the top left of the parent form. If I
call CenterToParent after showing the form, nothing happens. I can
call CenterToScreen and it works just fine. I'm using VS2008
with .NET framework version 3.5.
Any ideas? Thanks in advance.