Summary
Helps an application using Lingo to display language selection UI using WPF 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. |
| bool | | Returns a value indicating whether it is okay to close the application. The user is asked if there are any unsaved changes. |
| void | | Appends menu items for changing languages and, optionally, translation editing. The menu items are hooked with appropriate click handlers. |
| void | | Changes the currently selected language in exactly the same way as using one of the UI elements would. |
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.
|