简体   繁体   中英

How many WinForm event message are in queue?

I have created an event in a BackgroundWorker to send text notifications to a WinForm Panel. After the BachgroundWorker is finished I change the Panel and start the next BackgroundWorker. My Problem is that when the BGW is finished not all event messages are arrived in my Panel. Bevor removing the Panel I want to process all event messages. How can I observe or check if there are more event messages in queue?

thanks for your help

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