Exemplo n.º 1
0
 /// <summary>
 /// Shows error message box
 /// </summary>
 /// <param name="messageText">Bold text</param>
 /// <param name="additionalText">additional text</param>
 public static void Show(string messageText, string additionalText)
 {
     msgBox = new ExolutioErrorMsgBox();
     msgBox.messageText.Text     = messageText;
     msgBox.messageQuestion.Text = additionalText;
     msgBox.ShowDialog();
     return;
 }
        public static void Show(string messageText, string messageQuestion)
#endif
        {
            msgBox = new ExolutioErrorMsgBox();
            msgBox.messageText.Text     = messageText;
            msgBox.messageQuestion.Text = messageQuestion;
            #if SILVERLIGHT
            host.Add(msgBox);
            msgBox.ShowModal();
            #else
            msgBox.ShowDialog();
            #endif
            return;
        }