Thanks i tried it that way and still no luck. I also tried this with no luck either. I am trying to figure it out, just not familiar enough I guess.
if ((pbYourChoice.Image == Properties.Resources.sillouttepaper && pbCompChoice.Image == Properties.Resources.rock) || (pbYourChoice.Image == Properties.Resources.rock && pbCompChoice.Image == Properties.Resources.scirrorssilloutte) || (pbYourChoice.Image == Properties.Resources.scirrorssilloutte && pbCompChoice.Image == Properties.Resources.sillouttepaper))
{
lblWin.Visible = true;
}
else if ((pbYourChoice.Image == Properties.Resources.scirrorssilloutte && pbCompChoice.Image == Properties.Resources.rock) || (pbYourChoice.Image == Properties.Resources.sillouttepaper && pbCompChoice.Image == Properties.Resources.scirrorssilloutte) || (pbYourChoice.Image == Properties.Resources.rock && pbCompChoice.Image == Properties.Resources.sillouttepaper))
{
lblLose.Visible = true;
}
else
{
lblPush.Visible = true;
}
bttnPlayAgain.Visible = true;
No comments:
Post a Comment