private void Button_Click_1(object sender, RoutedEventArgs e)
        {
            var pra1 = new B2();

            Ex.TryLog("Извините произошла ошибка", () => pra1.SomeH());
        }
        private void Button_Click(object sender, RoutedEventArgs e)
        {
            var pra1 = new B2();

            Ex.TryLog(() => pra1.SomeH());
        }