Exemple #1
0
 private void SumColumns()
 {
     SumDugovna  = JournalDetails.Sum(x => x.Dugovna);
     SumPotrazna = JournalDetails.Sum(x => x.Potrazna);
     SumStanje   = SumDugovna - SumPotrazna;
     SidesEqual  = SumStanje == 0;
 }
Exemple #2
0
 private void SumColumns()
 {
     SumDugovna  = JournalDetails.Sum(x => x.Dugovna);
     SumPotrazna = JournalDetails.Sum(x => x.Potrazna);
     SumStanje   = SumDugovna - SumPotrazna;
     SidesEqual  = SumStanje == 0;
     SaveChangesCommand.RaiseCanExecuteChanged();
 }