示例#1
0
        private void btnCut_Click(object sender, RoutedEventArgs e)
        {
            var client = new CompanyServiceClient();

            client.CutCompleted += (x, y) => txtTotal.Content = y.Result;
            client.CutAsync((CompanyDto)DataContext);
        }
示例#2
0
 private void btnCut_Click(object sender, RoutedEventArgs e)
 {
     var client = new CompanyServiceClient();
     client.CutCompleted += (x, y) => txtTotal.Content = y.Result;
     client.CutAsync((CompanyDto)DataContext);
 }