Skip to content

Repository files navigation

TaskDialogLite

Simple and minimum TaskDialog library for .NET.

Usage

using System.Windows.Interop;
using TaskDialogLite;

var owner = new WindowInteropHelper(this).Handle;
var dialog = new TaskDialog
{
    Title = "Delete file",
    HeaderText = "Are you sure you want to delete this file?",
    Buttons = [new("Delete"), TaskDialogButton.Cancel],
};
if (dialog.Show(owner) != TaskDialogButton.Cancel)
{
    // ...
}

Install

Add the source files to your project or include this repository as a submodule.

Requirements

  • Windows
  • .NET 10

License

This project is licensed under the BSD Zero Clause License.

About

Simple and minimum TaskDialog library for .NET

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages