Summary
Helps an application using Lingo to display language selection UI using WinForms controls.
Generic type parameters
TTranslation | The type of the class holding the program’s translation. |
Constructors
Instance methods
void | | Closes the translation dialog (if it is visible) without any prompts regarding unsaved changes. |
void | | Initialises the combo box to list all available languages and change the application translation when one gets selected. |
void | | Initialises the menu item to provide language selection UI and any translation editing UI. |
bool | | Returns a value indicating whether it is okay to close the application. The user is asked if there are any unsaved changes. |
void | | Changes the currently selected language in exactly the same way as using one of the UI elements would. |
void | | Displays a context menu listing all available languages, and optionally controls to edit the translations. |
Events
SetTranslation<TTranslation> | |
Occurs whenever the translation has been changed. The application must respond by updating *all* visible UI
and storing the language of the selected translation for use on next program start.
|