如何根据硬件在vb 2008中设置应用程序刷新率 [英] how do i set application refresh rate in vb 2008 according to hardware

查看:98
本文介绍了如何根据硬件在vb 2008中设置应用程序刷新率的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是vb的新手,我的问题是,当最小化带有gridview的表单,然后恢复该表单并且gridview缓慢刷新时,如何告诉我的应用程序使用当前计算机的硬件设置?调整屏幕刷新率的解决方案,但这不是我想要的.
谢谢
Kobus

i am new to vb.my problem is that when a form with a gridview is minimized and then restored the form and gridview refresh slowly.how do i tell my application to use the current computers hardware settings?there are a lot of solutions to adjust refresh rate of the screen ,but that is not what i want.
thank you
Kobus

推荐答案

我怀疑它是否与硬件相关,除非您使用了许多需要即时重新缩放的复杂图像和控件.

而是配置您的应用程序:这将告诉您所花的时间.如果您搜索"c#配置文件"并稍微了解一下,Google会提供帮助.当您有客观的时间度量方式时,可以开始着眼于减少时间的策略,但是要等到那时候.
I doubt if it is hardware related, unless you are using a lot of complex images and controls that need on-the-fly rescaling.

Instead, profile your app: That will tell you what is taking the time. Google will help if you search for "c# profiling" and look about a bit. When you have an objective measure of time taken, and by what, you can start lookign at strategies to reduce that time - but not until then.


这篇关于如何根据硬件在vb 2008中设置应用程序刷新率的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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