this.Dispatcher.InvokeAsync(
() => {
MessageBoxResult result = MessageBox.Show("111111111111111111111111", "Child process failed", MessageBoxButton.OK);
}
);
this.Dispatcher.InvokeAsync(
() => {
MessageBoxResult result = MessageBox.Show("22222222222222222222222", "Child process failed", MessageBoxButton.OK);
}
);
Why does it show 2222222222 first and then show 11111111111?
If I change this.Dispatcher.InvokeAsync to this.Dispatcher.Invoke the order will be right. Does anyone know why?.