Moving Windows Mobile Screen

I have an application that is currently being created for a Windows Mobile 6 device and a CE5 device. The screens on these devices are different - one is a landscape, the other is a portrait.

I need to display the application correctly on both devices. but wondered what is the best way to approach this?

1) Should I find the screen orientation from Windows.Forms.screens .... then just create a form for each of the orientations? 2) make a form that has attached controls (in some way), so the orientation does not matter. 3) Microsoft has another way to do this ?????

The application has a type of output Windows applications.

Any ideas would be greatly appreciated!

Thanks, John

+3
source share
2 answers

Option number 1 (unique forms for each possible resolution) will require you a long time to add support for the third device with a new resolution in the future. It’s best to write forms that dynamically resize their controls to fit screens of varying widths and then allow them to scroll vertically. Do not forget that users of your Windows mobile phone can switch from portrait to landscape in the middle of using one of your forms.

+1
source

, . , . . , (, 240x320 480x640), . , .

0

Source: https://habr.com/ru/post/1734545/


All Articles