WinForm: int Width = Screen.PrimaryScreen.Bounds.Width; int Height = Screen.PrimaryScreen.Bounds.Height ; WPF下的: double dWidth = System.Windows.SystemParameters.PrimaryScreenWidth; double dHeight = System.Windows.SystemParameters.PrimaryScreenHeight;
关键字词: