using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Collections.ObjectModel; using System.IO; using System.Reflection; using Dashboard.Resources; using Dashboard.Windowing; namespace Dashboard.Controls { public enum MessageBoxIcon { Info, Question, Warning, Error, Custom, } public enum MessageBoxButtons { AbortRetryIgnore, CancelRetryContinue, Ok, OkCancel, RetryCancel, YesNo, YesNoCancel, Custom, } /// /// A simple message box dialog. /// public class MessageBox : Form { private Image? _icon; private Label _label = new Label(); private readonly List