将WinForm的初始化界面置于屏幕的中央
Screen screen = Screen.AllScreens[0];
int iX = (screen.Bounds.Size.Width - Size.Width) / 2;
int iY = (screen.Bounds.Size.Height - Size.Height) / 2;
Location = new Point(iX, iY);
int iX = (screen.Bounds.Size.Width - Size.Width) / 2;
int iY = (screen.Bounds.Size.Height - Size.Height) / 2;
Location = new Point(iX, iY);