Guest User

Untitled

a guest
Jun 23rd, 2018
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. int reduce = kast - 1;
  2.  
  3. if (reduce == 1)
  4. {
  5. button1.Text = "Sista kastet!";
  6. }
  7.  
  8. else if ( kast == 2)
  9. {
  10. button1.Text = " 2 kast kvar";
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18. namespace Yatzy
  19. {
  20. public partial class Form1 : Form
  21.  
  22. {
  23. int kast = 3;
  24. public Form1()
Add Comment
Please, Sign In to add comment