예제 #1
0
        private void GenerateWordContemplation()
        {
            try
            {
                LectioDivinaGenerator lectioGenerator = new LectioDivinaGenerator();

                lectioGenerator.GenerateOneDayLectio(
                    DetermineTemplateFilename(),
                    Properties.Settings.Default.OneDayKey, contemplation, ShowAfterGeneration);
            }
            catch (Exception ex)
            {
                dialogService.ShowError("Coœ posz³o Ÿle:\r\n" +
                                        GetNestedExceptionMessage(ex),
                    "Problem", "Ok",
                    () => { });
            }
        }