Beispiel #1
0
        private void button_Click(object sender, RoutedEventArgs e)
        {
            label.Content = string.Empty;

            FileServiceClient client  = new FileServiceClient();
            DoWorkRequest     request = new DoWorkRequest();

            request.x = 2;
            client.DoWorkAsync(request);

            Upload(client);
            label.Content = "Success !";
        }