예제 #1
0
 /// <summary>
 /// 
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 void db_GetRequistionCompleted(object sender, GetRequistionCompletedEventArgs e)
 {
     if (e.Error == null)
     {
         PagedCollectionView pagedView = new PagedCollectionView(e.Result);
         dgRDetails.ItemsSource = pagedView;
     }
 }
예제 #2
0
 /// <summary>
 /// 
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 void db_GetRequistionCompleted(object sender, GetRequistionCompletedEventArgs e)
 {
     if (e.Error == null)
     {
         string path = string.Empty;
         if (rbRequisite.IsChecked == true)
            path = string.Format("{0}\\" + RequisiteFile, Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments));
         if (File.Exists(path))
             RequisitionXLDoc(e.Result,path);
     }
 }