Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/openbytedev/modernwpf.messagebox

A drop-in replacement for System.Windows.MessageBox using a modern WPF UI.
https://github.com/openbytedev/modernwpf.messagebox

messagebox modernui modernwpf wpf

Last synced: about 2 hours ago
JSON representation

A drop-in replacement for System.Windows.MessageBox using a modern WPF UI.

Awesome Lists containing this project

README

        

# ModernWpf.MessageBox

[![nuget badge](https://badgen.net/nuget/v/modernwpf.messagebox)](https://www.nuget.org/packages/ModernWpf.MessageBox/)
[![Unlicense](https://img.shields.io/github/license/OpenByteDev/ModernWpf.MessageBox)](./LICENSE)

A drop-in replacement for `System.Windows.MessageBox` (and `System.Windows.Forms.MessageBox`) built using a [Modern WPF UI](https://github.com/Kinnara/ModernWpf).

## Installation

To install with NuGet use the following command in the Packet Manager Console:
```
Install-Package ModernWpf.MessageBox
```

## Usage
A simple usage example:
```cs
MessageBox.Show("This is a test text!", "Some title", MessageBoxButton.YesNoCancel, MessageBoxImage.Question);
```
**ModernWPF.MessageBox**

![ModernWpf.MessageBox](https://raw.githubusercontent.com/OpenByteDev/ModernWpf.MessageBox/master/screenshots/Screenshot-01.png)

**System.Windows.MessageBox**

![System.WindowsMessageBox](https://raw.githubusercontent.com/OpenByteDev/ModernWpf.MessageBox/master/screenshots/Screenshot-02.png)