コード例 #1
0
        private void Button_Click_1(object sender, RoutedEventArgs e)
        {
            var pra1 = new B2();

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

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