In the following code, only the second method works for me (.NET 4.0). FormStartPosition.CenterParent does not center the child form over its parent. Why?
FormStartPosition.CenterParent
just put the code in the constructor of your form.
public FrmSample() { InitializeComponent(); // must be after the InitializeComponent() this.StartPosition = FormStartPosition.CenterParent; }