private void OnSelectAll()
 {
     SelectedCommitments.Clear();
     foreach (InvestorCommitment c in AllCommitments)
     {
         SelectedCommitments.Add(c);
     }
 }
 private void OnAnalyzingChanged(AnalyzingInformation obj)
 {
     AllCommitments.Clear();
     foreach (InvestorCommitment c in obj.AllCommitments)
     {
         AllCommitments.Add(c);
     }
     SelectedCommitments.Clear();
     foreach (InvestorCommitment c in obj.SelectedCommitments)
     {
         SelectedCommitments.Add(c);
     }
     SetPeriodStartAndEnd();
 }