示例#1
0
        private void ShowInternal(MessageType messageType, string text, IEnumerable <string> detail, bool withCancel = false)
        {
            MessageDialogWindow window = new MessageDialogWindow();

            window.Caption            = _title;
            window.MessageType        = messageType;
            window.Text               = text;
            window.Detail             = detail;
            window.QuestionWithCancel = withCancel;
            window.ShowMessageWindow();
            _result = window.Result;
        }