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