Windows Forms Sample: Task Dialog (C#)

This sample is a .NET 5.0 Windows Forms application that demonstrates how to use Task Dialog.

Screenshot

Credits: this sample was authored by @kpreisser, the author of Task Dialog for Windows Forms.

Sample prerequisites

This sample is written in C# and targets .NET 5.0 running on Windows. It requires the .NET 5.0 SDK.

Building the sample

To download and run the sample, follow these steps:

  1. Download and unzip the sample.

  2. In Visual Studio 2019 or later:

    1. On the menu bar, choose File > Open > Project/Solution.

    2. Navigate to the folder that holds the unzipped sample code, and open the project (.csproj) file.

    3. Choose the F5 key, or Ctrl+F5 keys, to run the project.

  3. From the command line:

    1. Navigate to the folder that holds the unzipped sample code.

    2. At the command line, type dotnet run.