请帮助多线程

扫码查看
Hi,I have a serious issue using multithreading. A sample applicationshowing my issue can be downloaded here: http://graphicsxp.free.fr/WindowsApplication11.zipThe problem is that I need to call operations on Controls from adelegate, otherwise it does not work. However each time I''ve done anoperation, I must update the progressbar and progresslabel, but thiscannot be done in the delegate as it does not work.In the sample I''ve just done a loop to increase the progressbar, butobviously in reality the progressbar updates and the operations oncontrols (tabcontro, datagrid..) should be nested, hence the issue!Please have a look at the sample for a clearer idea of what i''m tryingto achieve.Thanks for your help:) 解决方案 这篇关于请帮助多线程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云!
08-20 06:37
查看更多