public MessageForm(Form parent, string text, string caption, Buttons buttons, BoxIcon icon, DefaultButton defaultButton, bool centerScreen, bool displayHelpButton, int maxWidth, bool noWrap)
        {
            this.parent        = parent;
            this.text          = text;
            this.caption       = caption;
            this.buttons       = buttons;
            this.icon          = icon;
            this.defaultButton = defaultButton;
            StartPosition      = centerScreen ? FormStartPosition.CenterScreen : FormStartPosition.CenterParent;
            HelpButton         = displayHelpButton;
            this.maxWidth      = (maxWidth > 0 ? maxWidth : defaultWidth) - 20;
            this.noWrap        = noWrap;

            InitializeComponent();

            SetCaption();
            SetButtons();
            SetIcon();
            SetText();

            label.ContextMenu = new ContextMenu();
            label.ContextMenu.MenuItems.Add(new MenuItem(Properties.Resources.MenuItemCopy, new EventHandler(Copy)));
        }
 public MessageForm(string text, string caption, Buttons buttons, BoxIcon icon, DefaultButton defaultButton, bool centerScreen, bool displayHelpButton, int maxWidth, bool noWrap) : this(null, text, caption, buttons, icon, defaultButton, centerScreen, displayHelpButton, maxWidth, noWrap)
 {
 }
 public MessageForm(Form parent, string text, string caption, Buttons buttons, BoxIcon icon, DefaultButton defaultButton, bool centerScreen, bool displayHelpButton, int maxWidth) : this(parent, text, caption, buttons, icon, defaultButton, centerScreen, displayHelpButton, maxWidth, false)
 {
 }
 public MessageForm(string text, string caption, Buttons buttons, BoxIcon icon, DefaultButton defaultButton, bool centerScreen, bool displayHelpButton) : this(null, text, caption, buttons, icon, defaultButton, centerScreen, displayHelpButton, 0, false)
 {
 }
 public MessageForm(Form parent, string text, string caption, Buttons buttons, BoxIcon icon, DefaultButton defaultButton, bool centerScreen) : this(parent, text, caption, buttons, icon, defaultButton, centerScreen, false, 0, false)
 {
 }
 public MessageForm(string text, string caption, Buttons buttons, BoxIcon icon, DefaultButton defaultButton) : this(null, text, caption, buttons, icon, defaultButton, false, false, 0, false)
 {
 }
 public MessageForm(Form parent, string text, string caption, Buttons buttons, BoxIcon icon) : this(parent, text, caption, buttons, icon, DefaultButton.Button1, false, false, 0, false)
 {
 }