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