private void Loading() { HRWebServices = new ServiceReference.HRWebServicesClient(); query = HRWebServices.GetEmployees(); dataGrid1.ItemsSource = query; }
private void Window_Activated(object sender, EventArgs e) { var query = HRWebServices.GetEmployees(); dataGrid1.ItemsSource = query; }