void ActionCallBack(IAsyncResult rs) { dlg_ActionWork hd = (dlg_ActionWork)rs.AsyncState; hd.EndInvoke(rs); }
void AsyncActionWork(dlg_ActionWork hd) { hd.BeginInvoke(ActionCallBack, hd); }