예제 #1
0
 private void Get_SSurveysCompleted(object sender, Get_SSurveysCompletedEventArgs e)//WCF取数据
 {
     loadbar.Stop();
     IsQuery = false;
     ObservableCollection<V_Satisfaction> o = e.Result;
     if (o != null)
     {
         List<V_Satisfaction> dataList = o.ToList();
         BindDateGrid(dataList);
     }
     else
         BindDateGrid(null);
 }
예제 #2
0
        private void Get_SSurveysCompleted(object sender, Get_SSurveysCompletedEventArgs e)//WCF取数据
        {
            loadbar.Stop();
            IsQuery = false;
            ObservableCollection <V_Satisfaction> o = e.Result;

            if (o != null)
            {
                List <V_Satisfaction> dataList = o.ToList();
                BindDateGrid(dataList);
            }
            else
            {
                BindDateGrid(null);
            }
        }