C# 7.0 in a Nutshell: The Definitive Reference by Joseph Albahari & Ben Albahari

C# 7.0 in a Nutshell: The Definitive Reference by Joseph Albahari & Ben Albahari

Author:Joseph Albahari & Ben Albahari [Albahari, Joseph]
Language: eng
Format: azw3
Publisher: O'Reilly Media
Published: 2017-10-11T04:00:00+00:00


void UpdateMessage (string message) { Action action = () => txtMessage.Text = message; this.BeginInvoke (action); }

Multiple UI Threads

It’s possible to have multiple UI threads if they each own different windows. The main scenario is when you have an application with multiple top-level windows, often called a Single Document Interface (SDI) application, such as Microsoft Word. Each SDI window typically shows itself as a separate “application” on the taskbar and is mostly isolated, functionally, from other SDI windows. By giving each such window its own UI thread, each window can be made more responsive with respect to the others.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.