я не понимаю, где находится ошибка ...
using System.Xml.Linq;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using Microsoft.Phone.Controls;
namespace xmldow
{
public partial class MainPage : PhoneApplicationPage
{
// Constructor
public MainPage()
{
InitializeComponent();
}
private void clickBott(object sender, RoutedEventArgs e)
{
WebClient client = new WebClient();
client.DownloadStringCompleted += new DownloadStringCompletedEventHandler(client_DownloadStringCompleted);
client.DownloadStringAsync(new Uri("http://example.net/ddd/my.xml"));
}
void client_DownloadStringCompleted(Object sender, DownloadStringCompletedEventHandler e)
{
throw new NotImplementedException();
}
}
}
Это ошибка:
Ошибка 1 Нет перегрузки для 'client_DownloadStringCompleted' соответствует делегату 'System.Net.DownloadStringCompletedEventHandler '
Спасибо