简体   繁体   中英

How to trigger an event of TreeView control after a certain time?

I am using a treeview control in my project. I need to trigger an event in treeview only after a certain time, because when the user tries to select a certain item randomly, it triggers an event for every items passed while selecting till he confirms the item. How to do that?

Thanx in advance

您可以使用Timer并在TreeView事件上启用它,并在完成时在Tick事件中禁用。

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