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