form.Location = new Point((Screen.PrimaryScreen.Bounds.Size.Width / 2) - (form.Size.Width / 2), (Screen.PrimaryScreen.Bounds.Size.Height / 2) - (form.Size.Height / 2));
form.StartPosition = FormStartPosition.CenterScreen;
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)