应用程序加载延迟 [英] Application load latency

查看:70
本文介绍了应用程序加载延迟的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在编写vb.net应用程序,似乎在io上运行时它会变得更大,该应用程序有点斑点,在加载整个应用程序之前看起来非常难看.

有什么方法可以加载应用程序并在完全加载后显示其自身.我需要一些有关如何使应用程序完美无瑕的想法.我在启动时确实加载了3个项目,并且正在检查本地域.检查远程服务器上的文件,然后根据本地计算机的操作系统隐藏一些按钮.

I have been writing a vb.net application and it seems the bigger it gets when io go to run it the application is a little blotching and looks very ugly till the whole application has loaded.

Is there any way to have the application load and show itself once its fully loaded. I need some ideas on how i can make the application flawless. I do have a 3 items load on start up and that''s checking the local domain. Checking files on a remote server and then hiding some buttons depending on what Os the local machine has.

Thanks for you time and your ideas.

推荐答案

这是您应该将长期运行的工作分配给后台线程的地方. Google的"BackgroundWorker示例".
This is where you should be farming out the long running work to background threads. Google for "BackgroundWorker examples".


为什么在后端加载应用程序时不尝试显示全屏启动屏幕并显示一条消息?这可能不是解决方案,但只是一个想法,不显示加载时发生了什么?
Why Don''t you try Full window splash screen with a message while loading the application in the back end? This might not be a solution But Just an idea not to show what is happening while Loading?


这篇关于应用程序加载延迟的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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