Beispiel #1
0
        private void ExportToFile(object obj)
        {
            new Thread(() =>
            {
                //Thread.CurrentThread.IsBackground = true;

                GlobalFunctions.ExportToExcel(GlobalFunctions.ToDataTableFromList(CandidateHistoryCollection.ToList(), Columns), SelectedProject.ProjectName);
            }).Start();


            // CandidateHistoryCollection = candidateHistoryRepository.LoadHistorysByProjectID(SelectedProject.ID);
        }
 private void prepareCollection()
 {
     CandidateHistoryCollectionLastStatus = CandidateHistoryCollection.ToList().GroupBy(e => e.ProjectID).Select(s => s.OrderByDescending(i => i.Seq).First()).ToList().ToObservableCollection();
 }