Beispiel #1
0
        /// <summary>
        /// Show a dialog message to the user and returns the response.
        /// </summary>
        /// <param name="message"></param>
        /// <param name="header"></param>
        /// <param name="dialogueType"></param>
        /// <returns></returns>
        private DialogResponse ShowMessage(string message, string header, DialogType dialogueType)
        {
            var result = new ModalMessageDialog().ShowMessage(message, header.ToUpper(),
                                                              dialogueType, _metroWindow);

            return(result);
        }
 /// <summary>
 /// Show a dialog message to the user and returns the response.
 /// </summary>
 /// <param name="message"></param>
 /// <param name="header"></param>
 /// <param name="dialogueType"></param>
 /// <returns></returns>
 private DialogResponse ShowMessage(string message, string header, DialogType dialogueType)
 {
     var result = new ModalMessageDialog().ShowMessage(message, header.ToUpper(),
                                                                  dialogueType, _metroWindow);
     return result;
 }