Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Constructor: LanguageHelperWpfOld<TTranslation>(string, string, bool, TranslationForm<TTranslation>.Settings, Icon, Func<Language>)

Declaration

public LanguageHelperWpfOld<TTranslation>(
    string programTitle,
    string moduleName,
    bool editable,
    TranslationForm<TTranslation>.Settings settings,
    Icon icon,
    Func<Language> getCurrentLanguage
)

Summary

Constructor.

Parameters

stringprogramTitleThe title of the program - to be displayed in the translation UI.
stringmoduleNameName of the module being translated - used to construct the filename for the translation file.
booleditableWhether translation editing UI should be included.
TranslationForm<TTranslation>.SettingssettingsTranslation window settings, such as window position/size.
IconiconThe icon to use on the translation window.
Func<Language>getCurrentLanguageA callback that returns the currently active language whenever called.