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(); }
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(); }