SyntaxFix
Write A Post
Hire A Developer
Questions
If you have to center your childForm, from childForm then the code will be something like this. This code is in the childForm.cs
this.Show(parent as Form); // I received the parent object as Object type this.CenterToParent();