public MainPage() { InitializeComponent(); ServiceReference1.Service1Client C = new ServiceReference1.Service1Client(); C.GetDataCompleted += new EventHandler<ServiceReference1.GetDataCompletedEventArgs>(C_GetDataCompleted); C.GetDataAsync(20); } private void C_GetDataCompleted(object sender, ServiceReference1.GetDataCompletedEventArgs e) { box1.Text = e.Result.ToString(); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)