void xmlClient_GetSystemBOAttributeListCompleted(object sender, GetSystemBOAttributeListCompletedEventArgs e) { if (e.Result != null) { cboField.ItemsSource = null; cboField.ItemsSource = e.Result; cboField.DisplayMemberPath = "Description"; if (e.Result.Count > 0) { cboField.SelectedIndex = 0; } } }
void xmlClient_GetSystemBOAttributeListCompleted(object sender, GetSystemBOAttributeListCompletedEventArgs e) { if (e.Result != null) { cboField.ItemsSource = null; cboField.ItemsSource = e.Result; cboField.DisplayMemberPath = "Description"; if (e.Result.Count > 0) { cboField.SelectedIndex = 0; } } }
private void _xmlClient_GetSystemBOAttributeListCompleted(object sender, GetSystemBOAttributeListCompletedEventArgs e) { //try //{ if (e.Result != null) { cboField.ItemsSource = e.Result; cboField.DisplayMemberPath = "Description"; if (e.Result.Count > 0) { cboField.SelectedIndex = 0; } } //} //catch (Exception ex) //{ //} }
private void _xmlClient_GetSystemBOAttributeListCompleted(object sender, GetSystemBOAttributeListCompletedEventArgs e) { //try //{ if (e.Result != null) { cboField.ItemsSource = e.Result; cboField.DisplayMemberPath = "Description"; if (e.Result.Count > 0) { cboField.SelectedIndex = 0; } } //} //catch (Exception ex) //{ //} }