Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
swdev:dotnet:actions [2011/01/26 16:21] smayr [Using Actions to Communicate Between Background Worker and Main Threads] |
swdev:dotnet:actions [2011/01/26 16:55] (current) smayr [Example] |
||
---|---|---|---|
Line 58: | Line 58: | ||
// | // | ||
//Action action = () => popmnuReports.IsOpen = false; | //Action action = () => popmnuReports.IsOpen = false; | ||
- | Action action = CloseDelegate(); | + | Action action = this.CloseDelegate(); |
- | Dispatcher.BeginInvoke(action); | + | |
} | } | ||