private void MBindingSource_CurrentItemChanged(object sender, EventArgs e) { BindingSource sndr = (BindingSource)sender; BusinessLayer.General.Localization.TranslationWrapper wrap = (BusinessLayer.General.Localization.TranslationWrapper)sndr.Current; if (wrap != null) { Common.Localization.SetFormTranslation(wrap); } }
internal static void SetMessageTranslation(BusinessLayer.General.Localization.TranslationWrapper translation) { BusinessLayer.General.Localization.SetMessageTranslation(translation); }