Ejemplo n.º 1
0
 public DialogResult Show(IWin32Window parent, string message, string caption, MessageBoxButtons buttons, MessageBoxIcon icon)
 {
     using (var msgbox = new MessageBoxForm(MessageBoxButton.GetButtons(buttons), icon, message, caption))
     {
         return(msgbox.ShowDialog(parent));
     }
 }