how to center elements in windows forms code example Example: how to align a form in the center c# forms protected void CenterToScreen ();