warptoolkit-messaging

Implements DarkMode-aware themed message dialogs in WinForms using WarpToolkit FluentMessageBox.

1|1|Updated Jun 12, 2022
One-click install
npx skills add https://github.com/KlausLoeffelmann/WinFormsDevTools --skill warptoolkit-messaging-klausloeffelmann
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: warptoolkit-messaging
Source: https://github.com/KlausLoeffelmann/WinFormsDevTools/tree/main/.github/skills/WARP-Messaging
Command: npx skills add https://github.com/KlausLoeffelmann/WinFormsDevTools --skill warptoolkit-messaging-klausloeffelmann

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires WarpToolkit.WinForms.

What problem does it solve? Standard System.Windows.Forms.MessageBox ignores DarkMode and the application font, producing unthemed dialogs in WARP WinForms apps. This Skill guides you to replace MessageBox with WarpToolkit.WinForms FluentMessageBox so dialogs automatically respect DarkMode, app fonts, and Per-Monitor-V2 DPI scaling. ## Core Features & Use Cases - Drop-in MessageBox replacement: Show themed messages and confirmations via static FluentMessageBox.Show overloads with text, caption, buttons, icon, and default button parameters. - Custom dialog hosting: Construct FluentMessageBoxForm directly when you need to host or customize the message dialog, including async ShowDialogAsync support. - MVVM guidance: Route ViewModel-originated dialogs through IDialogService instead of calling the static API, keeping logic testable. - Use Case: When adding an "unsaved changes" confirmation to a WARP settings form, use FluentMessageBox.Show with YesNoCancel buttons so the dialog matches the app's DarkMode theme without manual styling. ## Quick Start Ask the AI to replace a MessageBox.Show call in your WinForms code with WarpToolkit.WinForms FluentMessageBox.Show using the same text, caption, buttons, and icon arguments.

Frequently Asked Questions about warptoolkit-messaging

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I show a themed MessageBox in WinForms with DarkMode support?▼

Use FluentMessageBox.Show from the WarpToolkit.WinForms namespace as a drop-in replacement for MessageBox.Show. It automatically honors Application.IsDarkModeEnabled and the application default font, so no manual theming is needed.

FluentMessageBox vs MessageBox in WinForms, what is the difference?▼

FluentMessageBox is a drop-in replacement that respects DarkMode and the app font, unlike the unthemed system MessageBox. Note it has no owner parameter overload, and the argument order is (text, caption, buttons, icon, defaultButton).

How do I show a confirmation dialog from a ViewModel in WinForms MVVM?▼

Do not call the static FluentMessageBox directly from a ViewModel. Instead, depend on IDialogService from the warp-app-services skill so the dialog logic stays testable and decoupled from the UI layer.

Does FluentMessageBox support async dialog and owner forms?▼

FluentMessageBoxForm is a regular Form, so it works with WARP's ShowDialogAsync helpers and standard ShowDialog(owner). The static FluentMessageBox.Show overloads, however, do not accept an owner parameter.

Why does my FluentMessageBox call fail to compile with an owner argument?▼

FluentMessageBox has no owner overload, unlike MessageBox.Show(owner, text, ...). Drop the owner argument and keep text first, followed by caption, buttons, icon, and optional default button.