private void btnYes_Click(object sender, EventArgs e) //Yes Button { DoBlock(); Clear(); Display(); btnYes.Hide(); btnNo.Hide(); WYLB.Hide(); BLVaule.Hide(); }
private void btnNo_Click(object sender, EventArgs e) //No Button { MessageBox.Show("Allright.:("); Clear(); Display(); btnYes.Hide(); btnNo.Hide(); WYLB.Hide(); BLVaule.Hide(); }
//_______________________________________________________________________________________________________________ public GameBoard() { //Clear(); InitializeComponent(); InitializeSpritesArray(); getBlockId(); Display(); btnYes.Hide(); btnNo.Hide(); WYLB.Hide(); BLVaule.Hide(); // btnDebug.Hide(); }
private void btnNext_Click(object sender, EventArgs e) //Next Button { if (Move == 0) { MessageBox.Show("RollDice"); } else { PlayerTurn++; if (PlayerTurn > 3) { PlayerTurn = 0; } Move = 0; stopMove = 0; Display(); btnYes.Hide(); btnNo.Hide(); WYLB.Hide(); BLVaule.Hide(); Clear(); Display(); OPVaule.Text = ""; } }