I create a new form and call from the parent form as follows:
loginForm = new SubLogin();
loginForm.Show();
I need to display the chi
The setting of parent does not work for me unless I use form.ShowDialog();
.
When using form.Show();
or form.Show(this);
nothing worked until I used, this.CenterToParent();
.
I just put that in the Load method of the form. All is good.
Start position to the center of parent was set and does work when using the blocking showdialog.