Is there a synchronous wait function that will not bind the UI thread in .NET WPF? Something like:
Sub OnClick(sender As Object, e As MouseEventArgs) Handles button1.Click Wait(2000) 'Ui still processes other events here MessageBox.Show("Is has been 2 seconds since you clicked the button!") End Sub
PeterM
source share