Ejemplo n.º 1
0
        void showSectionsWindow()
        {
            Action <Form> showVocabularyWindow = (Form parentWindow) =>
            {
                new VocabularyWindow(VocabularyRequests.createVocabularyContentForVariantExercise(_vocabulary),
                                     parentWindow,
                                     removeWordFromVocabulary,
                                     beginStudyVocabulary).Show();
            };

            new SelectSectionWindow(_sectionsList,
                                    onSectionSelected,
                                    Properties.Strings.exercise_name_variant,
                                    null,
                                    showVocabularyWindow).Show();
        }
Ejemplo n.º 2
0
        private void showSectionsWindow()
        {
            Action <Form> showVocabularyWindow = (Form parentWindow) =>
            {
                new VocabularyWindow(VocabularyRequests.createVocabularyContentForAccentsExercise(_vocabulary),
                                     parentWindow,
                                     removeWordFromVocabulary,
                                     beginStudyVocabulary).Show();
            };

            new SelectSectionWindow(_sectionsList,
                                    onSectionSelected,
                                    Properties.Strings.exercise_name_accents,
                                    Properties.Strings.select_section_window_title_accents,
                                    showVocabularyWindow).Show();
        }