18. Multithreaded User Interfaces
Windows Forms applications often need to support long-running operations, such as an intensive calculation or a call to a web service. In those cases, it's important to run the operation so that the applicat...
Long-Running Operations
Imagine that the value of pi in System.Math.PI, at only 20 digits, just isn't precise enough for you. In that case, you may find yourself writing an application like the one in Figure 18.1 to calculate pi to an arbitrary nu...
Asynchronous Web Services
In addition to causing work to happen on another thread, you'll also want to cause work to happen on other machines, which is an ideal use of web services. Calling a web service is similar to passing a message between thr...
Where Are We?
The pi calculator example demonstrates how to perform long-running operations while displaying a progress dialog and keeping the UI responsive to user interaction. You use the BackgroundWorker component to spawn worker threads and sa...
С 2009 года мы стали переводить структура сайта на различные языки. Сайт теперь будет содержать книги не только на английском языке, но также и на других европейских языках, в том числе и на Русском языке.