Hello,
On my usercontrol load, I do a call to a WCF service to get some data.
There is a small delay while doing this, so I thought by using the progressbar while getting the data.
I find examples on the web using WebClient to do this, but I want to use this using a async call eg:
| proxy.GetMyContextInfoCompleted += (sender2, e2) => |
| { |
| C = e2.Result; |
| |
| }; |
| |
| proxy.GetMyContextInfoAsync(); |
Any ideas on how to do this ?
Thanks,