IUpdateUIOpen Method |
Namespace: Kjs.AppLife.Update.Engine.Core
A working example of an implementation of this interface can be found in the "Custom Forms" quick start.
AppLife Update uses a multi-threaded updater. However, both Windows Forms and Windows Presentation Foundation (WPF) require components to be updated from the same thread where they were created. If you show a Form or a WPF Window in your implementation of the Open(UpdateUIContext) method, AppLife Update will ensure that all calls to your implementation of IUpdateUI are made from the same thread. Otherwise, you will have to ensure that any updates to your visual components are made on the correct thread using their thread-marshaling APIs. For more information, see:
(Windows Forms) http://msdn.microsoft.com/en-us/library/system.windows.forms.control.invokerequired.aspx
and
(WPF) http://msdn.microsoft.com/en-us/library/system.windows.threading.dispatcher.checkaccess.aspx