Ejemplo n.º 1
0
 public static DialogResult Show(Form owner, string text, MessageBoxButtons buttons, MessageBoxIcon icon)
 {
     if (UStr.LineCount(text) <= 15)
     {
         return(MessageBox.Show(owner, text, Config.ProductName, buttons, icon));
     }
     else
     {
         return(MessageForm.Open(owner, text));
     }
 }