开发者

Notification on screen orientation change

Windows 7, .NET 3.5

I need to know when netbook (small laptop, but normal Windows 7) changes orientation (there is a button on the netbook that is used to switch landscape/portrait orientation).

This tells me the orientation, but I am looking for the change notification event:

System.Windows.Forms.SystemInformation.Scree开发者_C百科nOrientation

Do I have to reference WindowsMobile to get that?


There is no such event as far as I am concerned. There is however a MSDN article covering this using a different technique. I guess you could write some sort of wrapper for this to work with ScreenOrientation

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜