空间:System.Windows.Forms
SystemInformation.WorkingArea,是屏幕工作区尺寸,不包括任务栏以及停靠窗口,工具栏等。但包含了窗口的标题栏。
SystemInformation.CaptionHeight,是Form窗口标题栏高度。
SystemInformation.PrimaryMonitorMaximizedWindowSize,最大化后Form的尺寸。
显示器的分辨率: SystemInformation.PrimaryMonitorSize,或者Screen.PrimaryScreen.Bounds.Size。
要定位控件在Form中的位置时需要考虑用工作区高度减去标题栏高度。