Example #1
0
        void UpdateSeatBindings(RoomSeat Seat)
        {
            SelectedItemsCount = Items.Sum(i => i.Seats.Count(s => s.IsSelected));
            Seat.Row.Refresh();

            RemoveBookingCommand.RaiseCanExecuteChanged();
            FreeBookingCommand.RaiseCanExecuteChanged();
            PaidBookingCommand.RaiseCanExecuteChanged();
        }
Example #2
0
 void RowSelect(RoomRow row)
 {
     RemoveBookingCommand.RaiseCanExecuteChanged();
     FreeBookingCommand.RaiseCanExecuteChanged();
     PaidBookingCommand.RaiseCanExecuteChanged();
 }