Esempio n. 1
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;
         }
     }
 }
Esempio n. 2
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;
         }
     }
 }
Esempio n. 3
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)
            //{
            //}
        }
Esempio n. 4
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)
            //{
            //}
        }