close
C# 視窗程式範例--取得視窗大小
int deskHeight = Screen.PrimaryScreen.Bounds.Height;
int deskWidth = Screen.PrimaryScreen.Bounds.Width;
參考文獻
- Get current screen resolution in C# — http://www.geekpedia.com/KB123_Get-current-screen-resolution-in-Csharp.html
陳鍾誠 (2011年12月12日),(網頁標題) C# 取得視窗大小,(網站標題) 免費電子書:C# 程式設計,2011年12月12日,取自 http://cs0.wikidot.com/screensize ,網頁修改第 0 版。
文章標籤
全站熱搜