문제

I have created an add-in for visual studio which functionally all works well. However, the process can take a while and i would like to yield control back to the user every once in a while.

Any ideas on how to do that ?

Cheers

도움이 되었습니까?

해결책

Call System.Windows.Forms.Application.DoEvents(). Or move processing to a background thread.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top