long long cash = 0 ;
Random RndNumber = new Random();
if (txtAdd.Text == "")
{
MessageBox.Show("YOU NEED TO ADD MORE cucumber BEFORE PLAYING");
break;
}
else
{
while(1){
btnOne.Text = RndNumber.Next(0, 10).toString();
btnTwo.Text = RndNumber.Next(0, 10).toString();
btnThree.Text = RndNumber.Next(0, 10).toString();
if( btnOne.Text == btnTwo.Text && btnTwo.Text == btnThree.Text )
{
cash += 120000 ;
MessageBox.Show("Congrats! You Win");
return 0 ;
}
}
}