Unfortunately, I don't know of a way to set the orientation permanently, but if someone knows, please let us know.
C# Code:
- Code: Select all
using Microsoft.WindowsCE.Forms;
//Rotate screen by 90 degrees
SystemSettings.ScreenOrientation = ScreenOrientation.Angle90;
VB.Net
- Code: Select all
Imports Microsoft.WindowsCE.Forms
'Rotate screen by 90 degrees
SystemSettings.ScreenOrientation = ScreenOrientation.Angle90