Declaration
public LanguageHelperWinForms<TTranslation>(
string programTitle,
string moduleName,
bool editable,
TranslationForm<TTranslation>.Settings settings,
Icon icon,
Func<Language> getCurrentLanguage
)Summary
Constructor.
Parameters
| string | programTitle | The title of the program - to be displayed in the translation UI. |
| string | moduleName | Name of the module being translated - used to construct the filename for the translation file. |
| bool | editable | Whether translation editing UI should be included. |
| TranslationForm<TTranslation>.Settings | settings | Translation window settings, such as window position/size. |
| Icon | icon | The icon to use on the translation window. |
| Func<Language> | getCurrentLanguage | A callback that returns the currently active language whenever called. |