コード例 #1
0
 private void Client_GetListFOSCompleted(object sender, ServiceReference1.GetListFOSCompletedEventArgs e)
 {
     if (e.Error == null)
     {
         _ProjectCard.comboBox1.ItemsSource = e.Result.ToList();
     }
     else
     {
         MessageBox.Show(e.Error.Message);
     }
 }
コード例 #2
0
 private void Client_GetListFOSCompleted(object sender, ServiceReference1.GetListFOSCompletedEventArgs e)
 {
     if (e.Error == null)
     {
         dataGrid.ItemsSource = e.Result.ToList();
         //MessageBox.Show(e.Result.ToList()[0].name_crit);
         Waiting(false);
     }
     else
     {
         MessageBox.Show(e.Error.Message);
     }
 }