日期:2014-05-19  浏览次数:20717 次

如何得到当前窗口大小?急~~~~~~~~~~~~~~~~
如何得到当前窗口大小?c++中用getclientrect,c#中用什么?用this.size好像得到的不对!谢谢!

------解决方案--------------------
一样可以用GetWindowRect啊
[DllImport]
------解决方案--------------------
屏幕宽:window.screen.width
屏幕高:window.screen.height
------解决方案--------------------
this.Height,this.Width得不到?!
------解决方案--------------------
this.Height,this.Width即可