Skip to content

SIL.Windows.Forms.WritingSystems

Damien Daspit edited this page Dec 9, 2015 · 4 revisions

SIL.Windows.Forms.WritingSystems contains Windows Forms UI elements for displaying and editing writing systems as defined by the SIL.WritingSystems assembly. The UI elements provided by this assembly follow the Presentation Model design pattern.

The assembly primarily consists of a dialog for adding, removing, or editing writing systems in a writing system repository and the various controls used in the dialog. The dialog (WritingSystemSetupDialog) or the view that the dialog uses (WritingSystemSetupView) can be used as a whole or individual controls can be used separately if desired. All views have a BindToModel method that is used to bind the view to an instance of the WritingSystemSetupModel, which is the presentation model. There is also a dialog for searching all available language codes, called LanguageLookupDialog. Its corresponding presentation model is called LanguageLookupModel.