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.
11 2112
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.
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.
The link says.....double buffering..download the sample....it looks good :)
cheers
The link says.....double buffering..download the sample....it looks good :)
cheers
I have done double buffering in my code,but still i got flickering effect when form loads
I have done double buffering in my code,but still i got flickering effect when form loads
Do you use the SuspendLayout method on all of you container controls before adding the controls to them? Then, after all of the controls have been added,
Do you use the SuspendLayout method on all of you container controls before adding the controls to them? Then, after all of the controls have been added,
Thanks For the reply
Yes I have used SusPendLAyout() methode.But still I am facing same problem
Yes I have used SuspendLayout() method. But still I am facing the same problem.
Perhaps you could just hold off on displaying the form until the controls have been created?
decrease controls and using listview, datagrid etc
delete form, dynamite computer, etc.
Or alternatively, what about creating more of the controls at design time, then just modifying their properties at runtime?
Sign in to post your reply or Sign up for a free account.
Similar topics
by: Peng Jian |
last post by:
I have a function that is called very very often.
Can I improve its efficiency by declaring its local variables to be static?
|
by: Skybuck Flying |
last post by:
Hi,
I needed a method to determine if a point was on a line segment in 2D. So I
googled for some help and so far I have evaluated two methods.
The first method was only a formula, the second...
|
by: Oberfuhrer |
last post by:
Hello all VB.net friends !
i have done most of my programming in assembly, at least so far. Recently i
decided to learn a high level language for windows programming. I didnt take
long to...
|
by: sdanda |
last post by:
Hi ,
Do you have any idea how to improve my java class performance while selecting and inserting data into DB using JDBC Connectivity .........
This has to work for more than 8,00,000...
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
| |