Horje
Wait some seconds without blocking UI execution Code Example
Wait some seconds without blocking UI execution
async Task PutTaskDelay()
{
    await Task.Delay(5000);
} 

private async void btnTaskDelay_Click(object sender, EventArgs e)
{
    await PutTaskDelay();
    MessageBox.Show("I am back");
}




Csharp

Related
selecteditem treeview wpf Code Example selecteditem treeview wpf Code Example
c# is file closed Code Example c# is file closed Code Example
'base64' is not recognized as an internal or external command, Code Example 'base64' is not recognized as an internal or external command, Code Example
in model add to give drop down message Code Example in model add to give drop down message Code Example
how to do minus with button c# Code Example how to do minus with button c# Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
11