Exemplo n.º 1
0
 public static void Display(this IAnswer answer, Window ownerWindow, ILanguage language, Action <IKnowledge> knowledgeObjectPicked)
 {
     new FormattedTextDialog(
         language,
         answer.GetDescriptionWithExplanation(),
         knowledgeObjectPicked)
     {
         Owner = ownerWindow,
         Title = language.GetExtension <IWpfUiModule>().Misc.Answer,
     }.Show();
 }