Esempio n. 1
0
        // To test: set the row height to an invalid value.
        public PortableDialogResult ShowMessage(string message, string title, PortableMessageBoxIcon icon)
        {
            string customMessage = myMessage + message;

            DXMessageBox.Show(customMessage, title, MessageBoxButton.OK, (MessageBoxImage)icon);
            return(PortableDialogResult.OK);
        }
Esempio n. 2
0
        // To test: click the Test button or try to set the row height to 1000.
        public PortableDialogResult ShowMessage(string message, string title, PortableMessageBoxIcon icon)
        {
            string myMessage = "Ein Fehler tritt auf.\n\n" + message;
            var    myIcon    = (MessageBoxIcon)icon;

            return((PortableDialogResult)XtraMessageBox.Show(lookAndFeel, control, myMessage, title, MessageBoxButtons.OK, myIcon));
        }