Background tasks are things that are related to network I / O, disk I / O, or other long-term tasks that may or may not be performed over the network. It is often mixed with code that updates the GUI that needs to be run on another thread, the GUI thread.
The simple meaning is that when you open the Form.cs file, the source code is as easy or easier to read as before. In practice, the source code stream should still be read sequentially with respect to the order in which the code is executed, regardless of which stream it runs. All supporting tissue should be reused and hidden somewhere, and not included in each form.
Google for Google search: it turned out that the solution officially sanctioned by Microsoft is System.ComponentModel.BackgroundWorker, which falls (very!) To the second point.
(There is also an officially approved Silverlight / XAML / 3.5 model in System.Windows.Threading.Dispatcher.)
source
share