示例#1
0
 public void UnRoundTotal()
 {
     _calculator.UnRoundTotal();
     PropertyChanged?.Invoke(this, new PropertyChangedEventArgs("TipTxt"));
     PropertyChanged?.Invoke(this, new PropertyChangedEventArgs("GrandTotalTxt"));
     PropertyChanged?.Invoke(this, new PropertyChangedEventArgs("NumberOfPersons"));
     PropertyChanged?.Invoke(this, new PropertyChangedEventArgs("TotalPerPersonTxt"));
 }
        public void UnRoundTotal()
        {
            _calculator.UnRoundTotal();

            RaisePropertyChanged(() => TipTxt);
            RaisePropertyChanged(() => GrandTotalTxt);
            RaisePropertyChanged(() => NumberOfPersons);
            RaisePropertyChanged(() => TotalPerPersonTxt);
        }