Q:

How to change orientation to landscape on button event

How to change orientation to landscape on button event

A:

I found this online:
application.statusBarOrientation = UIInterfaceOrientationLandscapeRight;

There is also an event which is triggered when you change the orientation of the phone where you specify the allowed mode (portrait or landscape). 
Hope that helps.