private static void EhLocalizationChanged(CLocalization aLocale) { XmlNode lDialogLocale = aLocale.GetDialogData("generalDialogs"); SaveCollectionDialog.Filter = FileDialogFilters.BuildCollectionFilter(lDialogLocale); OpenCollectionDialog.Filter = FileDialogFilters.BuildCollectionFilter(lDialogLocale); }
public override void ApplyLocale(CLocalization aSender) { DialogLocale = aSender.GetDialogData(this.Name); _bOk.Text = aSender.GetTagText("ok"); _bCancel.Text = aSender.GetTagText("cancel"); _lTitle.Text = buildTitle(aSender); if (DialogLocale != null) { _lDescription.Text = XmlTools.getXmlNodeByName("description", DialogLocale).InnerText; this.Text = XmlTools.getXmlNodeByName("caption", DialogLocale).InnerText; } }
public override void ApplyLocale(CLocalization aLocale) { XmlNode lData = aLocale.GetDialogData("AddReport"); _bOk.Text = aLocale.GetTagText("ok"); _bCancel.Text = aLocale.GetTagText("cancel"); _bBrowse.Text = aLocale.GetTagText("browse"); _lAlias.Text = XmlTools.getXmlNodeByName("lAlias", lData).InnerText; _lReportFile.Text = XmlTools.getXmlNodeByName("lReportFile", lData).InnerText; _lDetails.Text = XmlTools.getXmlNodeByAttrVal("name", "details", lData).InnerText; _ctlEditor.Text = XmlTools.getXmlNodeByAttrVal("name", "group", lData).InnerText; }