PDA畫面旋轉、直式與橫式切換
Published 09 十一月 07 12:26 下午
在VS 2005 開發工具上,
Visual Basic
SystemSettings.ScreenOrientation = ScreenOrientation.Angle0
Me.StatusBar1.Text = SystemSettings.ScreenOrientation.ToString()
C#
SystemSettings.ScreenOrientation = ScreenOrientation.Angle0;
this.statusBar1.Text = SystemSettings.ScreenOrientation.ToString();
'SystemSettings.ScreenOrientation = ScreenOrientation.Angle0
'SystemSettings.ScreenOrientation = ScreenOrientation.Angle90
'SystemSettings.ScreenOrientation = ScreenOrientation.Angle180