我们如何动态地增加Windows Mobile控件的大小 [英] how can we add size of a windows mobile control 's dynamically

查看:95
本文介绍了我们如何动态地增加Windows Mobile控件的大小的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何动态地在窗口移动应用程序中提供控件的大小,因为我已经开发了一个应用程序,当我过去在不同的仿真器上运行该应用程序时,该应用程序中该控件的大小不同"是针对不同的模拟器的.所以您能帮助我如何在使用Visual Studio 2008和Windows Mobile6经典模拟器的iam的Windows Mobile应用程序中处理此类问题?

how to give size of a control in window mobile app dynamically,because i have developed one application,when i used to run that application on different emulator''s ,the size of that control''s in that application differ''s for different emulator.so could u plz help me that how we can handle such issue in windows mobile application in which iam using visual studio 2008 and windows mobile6 classical emulator

推荐答案

在不同仿真器中使用不同大小的原因是由于分辨率.检查屏幕分辨率并相应地调整控件的大小.您可以从Screen类的静态成员中获取它们.
the reason for different sizes in different emulator is because of the resolution. Check the screen resolution and resize your control accordingly. You can get them from Screen class''s static members.


这篇关于我们如何动态地增加Windows Mobile控件的大小的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆