【发布时间】:2012-08-10 20:54:30
【问题描述】:
我有 3 个耗时的函数序列,我想在后台工作者或其他任何工具中执行它们,我的问题是每个函数都应该等待先例函数完成,所以这是我的伪代码:
open_session() // during the execution of this function i like to display a loading-window
open_session() //this function opens a process another windows app , while opening this app i would like to keep the current app responsive.
close_session()// during the execution of this function i like to display a loading-window
我想用后台工作人员来做这件事,但做功能是异步的。
请帮忙
【问题讨论】:
标签: c# .net multithreading backgroundworker