Click here to Skip to main content
15,895,746 members
Articles / Desktop Programming / Windows Forms

Another Way to Invoke UI from a Worker Thread

Rate me:
Please Sign up or sign in to vote.
4.75/5 (33 votes)
3 Oct 20056 min read 310.6K   2.2K   124  
This article demonstrates an alternative way of invoking UI event handlers from a worker thread.
using System;
using System.Reflection;
using System.Runtime.CompilerServices;

//------------------------------------------------------------------------------
// <autogenerated>
//     This code was generated by a tool.
//     Runtime Version: 1.1.4322.2032
//
//     Changes to this file may cause incorrect behavior and will be lost if 
//     the code is regenerated.
// </autogenerated>
//------------------------------------------------------------------------------

[assembly: CLSCompliantAttribute(true)]
[assembly: AssemblyTitleAttribute("InvokeUI")]
[assembly: AssemblyDescriptionAttribute("Yet another way to control UI from a background thread.")]
[assembly: AssemblyVersionAttribute("1.0.0.*")]

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.


Written By
Web Developer
Russian Federation Russian Federation
I'm a system administrator from Moscow, Russia. Programming is one of my hobbies. I presume I'm one of the first Russians who created a Web site dedicated to .Net known that time as NGWS. However, the Web page has been abandoned a long ago.

Comments and Discussions