public EditRenderingsForm( Font font, string renderings, TermRendering termRendering, string scrTextName, Localization termLocalization) { InitializeComponent(); Localizer.Ctrl(this); DialogRestorer.Register(this); this.termRendering = termRendering; textRenderings.Font = font; if (renderings != "") { textRenderings.Text = renderings; } else { textRenderings.Text = termRendering.Renderings.Trim(); } textNotes.Text = termRendering.Notes.Trim(); textTag.Text = termRendering.Tag.Trim(); txtTermDefinition.Text = termLocalization.Gloss + " --- " + termLocalization.Notes; //! set alignment to match text direction this.Text = Localizer.Str("Edit Renderings") + ": " + scrTextName; }
public SelectTermsListForm(string biblicalTermsPath) { InitializeComponent(); Localizer.Ctrl(this); string path1 = Path.Combine(StoryProjectData.GetRunningFolder, "BiblicalTerms"); AddIfPresent(path1, "BiblicalTerms.xml", biblicalTermsPath); AddIfPresent(path1, "AllBiblicalTerms.xml", biblicalTermsPath); AddIfPresent(path1, "MyBiblicalTerms.xml", biblicalTermsPath); }
private SelectTermsListForm() { InitializeComponent(); Localizer.Ctrl(this); }
private EditRenderingsForm() { InitializeComponent(); Localizer.Ctrl(this); }