Did you get a good grade on it?
I don't have Windows, and I don't know Portuguese, so I can't try it out. One thought...
Button 1: Role the 2 dices.
Button 2: Pay taxes. (If 1's are rolled.)
Taxation is just a consequence of rolling the dice. There's no choice involved, so there doesn't need to be separate input from the user.