Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/openbytedev/modernwpf.messagebox
- Owner: OpenByteDev
- License: mit
- Created: 2020-10-11T23:57:08.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2022-10-09T10:10:11.000Z (about 2 years ago)
- Last Synced: 2024-11-06T22:53:15.646Z (9 days ago)
- Topics: messagebox, modernui, modernwpf, wpf
- Language: C#
- Homepage:
- Size: 85.9 KB
- Stars: 31
- Watchers: 2
- Forks: 9
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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)