Advertisement
drakon-firestone

Untitled

Dec 30th, 2023 (edited)
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.80 KB | None | 0 0
  1. if (btn1.Text == btn2.Text && btn2.Text == btn3.Text && btn1.Text != "")
  2. {
  3. return true;
  4. }
  5. else if (btn4.Text == btn5.Text && btn5.Text == btn6.Text && btn4.Text != "")
  6. {
  7. return true;
  8. }
  9. else if (btn7.Text == btn8.Text && btn8.Text == btn9.Text && btn7.Text != "")
  10.  
  11. {
  12. return true;
  13. }
  14. else if (btn1.Text == btn4.Text && btn4.Text == btn7.Text && btn1.Text != "")
  15. {
  16. return true;
  17. }
  18. else if (btn2.Text == btn5.Text && btn5.Text == btn8.Text && btn2.Text != "")
  19. {
  20. return true;
  21. }
  22. else if (btn3.Text == btn6.Text && btn6.Text == btn9.Text && btn3.Text != "")
  23. {
  24. return true;
  25. }
  26. else if (btn1.Text == btn5.Text && btn5.Text == btn9.Text && btn1.Text != "")
  27. {
  28. return true;
  29. }
  30. else if (btn3.Text == btn5.Text && btn5.Text == btn7.Text && btn3.Text != "")
  31. {
  32. return true;
  33. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement