Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

O thread de chamada não pode aceder a este objecto porque existe outro thread que já o tem

Application.Current.Dispatcher.BeginInvoke(
  DispatcherPriority.Background,
  new Action(() => 
    button_proximo.RaiseEvent(new RoutedEventArgs(System.Windows.Controls.Primitives.ButtonBase.ClickEvent));
);
Source by pt.stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #O #thread #de #chamada #pode #aceder #este #objecto #porque #existe #outro #thread #tem
ADD COMMENT
Topic
Name
4+5 =