提高Windows窗体的性能 [英] Improve Performance of windows Form

查看:60
本文介绍了提高Windows窗体的性能的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hello all

我有一个Windows窗体,在这个页面我在运行时创建了很多控件。所以当我的表单加载时,加载所有控件需要时间。如何提高性能那个页面。我在类的构造函数中调用了InitializeComponet()函数。

解决方案


Hello all

我有一个Windows窗体,在这个页面我在运行时创建了很多控件。所以当我的表单加载时,加载所有控件需要时间。如何提高该页面的性能。我有在类的构造函数中调用InitializeComponet()函数。



看看这个


给出一些关于做什么的提示!


欢呼



看看这个


给出一些关于该怎么做的提示!


欢呼



很棒的链接!谢谢! --Sam



很棒的链接!谢谢! --Sam



实际上我在面板中有很多控制权。当表格加载闪烁问题就在那里。我想做无闪烁的绘画。


Hello all
I have a windows form,in this page I am creating lots of controls at runtime.So when my form is load it takes time to load all controls.How can i improve performance of that page.I have Call the InitializeComponet() function in constructor of the class.

解决方案

Hello all
I have a windows form,in this page I am creating lots of controls at runtime.So when my form is load it takes time to load all controls.How can i improve performance of that page.I have Call the InitializeComponet() function in constructor of the class.

Have a look at this

Gives a few tips on what to do!

cheers


Have a look at this

Gives a few tips on what to do!

cheers

Great link! Thanks! --Sam


Great link! Thanks! --Sam

Actually i have lots of control in a panel.and when the form is loaded flicker problem is there.I want to do flicker free painting.


这篇关于提高Windows窗体的性能的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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