Click here to Skip to main content
15,034,986 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
hi,

I want to add control to tableLayoutPanel using Program, but using the function of "add" has low efficiency, So now I use the function of "AddRange" to add controls. However, the controls aren't arrange correctly, please help me figure out the reason and how to use the method of "AddRange" property.

--thank you
Posted
Comments
   
Not enough information.
--SA
Mohamed Ahmed Abdullah 10-Feb-12 1:47am
   
if you share your code with us, or explain your problem in detailed so we can help you, it will be nice
BillWoodruff 10-Feb-12 19:25pm
   
dirk.zhang wrote: "using the function of "add" has low efficiency" : could you say more about what you observed that led you to this conclusion ? How many Controls are you are adding ?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900