简体   繁体   中英

How to cache a treeview in c# winform?

I have a TreeListNode in my windows forms application and this tree displays nearly 8 thousands of rows. It takes more than 2 minutes to generate/populate the view which is irritating. How can I cache this TreeListNode view so that first time it will take 2 minutes but the second time it won't take that time again?

如果数据量很大,请考虑使用“ 未绑定”或“ 虚拟模式”按需加载数据。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM