If you go in to my project
Then what I am trying to do is every time I click Raise button it should display the result from anteLabel on the raiseLabel and If I click raiseButton again it should display the result from previous two labels on the third label called raise2Label.
Loading

VulpesRank #55 · 29.2K reputationPosted Feb 21, 2012, 2:29 PM EST
VulpesRank #55 · 29.2K reputationPosted Feb 21, 2012, 2:03 PM EST
Also what do you want to happen if the Raise button is clicked a third time etc. ?
Incidentally, there appears to be something wrong with the labels as they are not displaying - possibly they're underneath a button.
Prime bRank #2,035 · 712 reputationPosted Feb 21, 2012, 2:52 PM EST
no the numbers don't need to add up. I am trying to make my project look like this game http://www.freepoker.com/free-let-em-ride-poker
And as you can see when you click Raise it adds the chip to the raise location, and if click it again it adds the chip to the third chip location(2nd raise);
This is what I added
int.TryParse(anteLabel.Text, out firstBet);
raiseLabel.Text = firstBet.ToString();
int.TryParse(raiseLabel.Text, out secondBet);
raise2Label.Text = secondBet.ToString();
But now I encountered a problem, after I click Raise button it displays the output on both labels, when I need to click Raise button each time I want it to display the bet on each label ( raiseLabel, raise2Label)
just like in game above. How would I do that?
Also are you leaving somewhere?
Prime bRank #2,035 · 712 reputationPosted Feb 22, 2012, 7:31 AM EST
VulpesRank #55 · 29.2K reputationPosted Feb 22, 2012, 9:25 AM EST
When I said last night that I was packing up, I meant I was getting ready for bed :)
Prime bRank #2,035 · 712 reputationPosted Feb 22, 2012, 12:17 PM EST