예제 #1
0
        private void GenerateLectio()
        {
            dialogService.SetBusy();
            Log("Rozpoczêto tworzenie Lectio. Czekaj...");

            if (TitlePage.IsPictureFromShortContemplation)
                ExtractPictureFromShortContemplation();

            var lectioGenerator = new LectioDivinaGenerator();

            lectioGenerator.Notification += Progress_Notification;
            lectioGenerator.GenerateLectio(TitlePage.LectioTemplateFile, TitlePage.WeekPictureName, TitlePage.LectioTargetFile,
                lectioDivinaWeek,
                Properties.Settings.Default.ShowWord);
        }