Beispiel #1
0
        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);
            }
        }
Beispiel #2
0
 internal static void SetMessageTranslation(BusinessLayer.General.Localization.TranslationWrapper translation)
 {
     BusinessLayer.General.Localization.SetMessageTranslation(translation);
 }