Click here to Skip to main content
15,881,852 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
See more:
Hi
I have developed one desktop(windows) Project using C# windows application, when I run this application in surface Windows tablet i need to display application only in landscape, and it should not get rotated when tilted


Thanks in advance.
Posted
Comments
Sergey Alexandrovich Kryukov 1-Oct-13 13:06pm    
To stop rotation, it's good too see how did you start rotation. Don't you think? There are too many possible ways to screw up rotate things in a wrong way.
—SA
Vkr Mohammad 1-Oct-13 13:29pm    
i don't want to rotate my application when system Height is greater than system width.
Sergey Alexandrovich Kryukov 1-Oct-13 13:34pm    
Then don't. Did you understand my comment above?
—SA
CPallini 1-Oct-13 13:49pm    
I suppose he is talking about autorotation.
Vkr Mohammad 1-Oct-13 13:53pm    
Yes I m talking about auto rotation I want to stop autorotation using Windows C# applications

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900