Tuesday, September 1, 2009

HEADS and TAILS



I used visual basic to create the heads or tails, i changed the back ground to purple, then i got one button it was the check button, this is the code i used:
If TextBox1.Text = "heads" Then Label1.Text = "win"
If TextBox1.Text = "tails" Then Label1.Text = "lose"


then i put a label on it for the win lose thing
then i put the text box to type heads or tails

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home