using DarkUI; namespace Example { public partial class MainForm : DarkForm { public MainForm() { InitializeComponent(); btnDialog.Click += delegate { DarkMessageBox.ShowError("This is an error", "Dark UI - Example"); }; btnMessageBox.Click += delegate { DarkMessageBox.ShowInformation("This is some information, except it is much bigger, so there we go. I wonder how this is going to go. I hope it resizes properly. It probably will.", "Dark UI - Example"); }; } } }