New C# member

Reply Forum
Forum postCheers @ 2011-01-19 04:32:47
ReplyReply to
alright, i solved all the problems i had so far
thanks alot.
now i have one last thing my task recommends.
when the player finished the game, a list (or MessaxeBox) shal popup, showing all the guesses the player entered into the textbox and it they were too big or too small.

i think displaying that in a MessageBox should be easier.

So i have to save or monitor all the tries the player had. i thought i have to put that into this part of the code?

private void check_number_Click(object sender, EventArgs e)
{
Geraten = Geraten + 1;
Text = Convert.ToString(Geraten) + " mal geraten!";
Eingabe = Convert.ToInt32(Zahleneingabe.Text);

if (Eingabe == Zahl)
{
Tipps.Text = "Richtig geraten!";
App_restart.Visible = true;
App_exit.Visible = true;

MessageBox.Show("All the tries the player had");
}

else if (Eingabe < Zahl)
{
Tipps.Text = "Zu klein!";
}

else if (Eingabe > Zahl)
{
Tipps.Text = "Zu groß!";
}
}

i only have some days left.
i really appreciate your help
regards,
Lisa


Forum postRyan @ 2011-03-25 07:18:35
ReplyReply to
Hi there,

you can get all ur queries solved @ www.projectsdeal.com

A very good platform to showcase ur project and to get any project. happy tech surfing! :)


Forum postRyan @ 2011-03-25 07:30:44
ReplyReply to
Hi there,

you can get all ur queries solved @ www.projectsdeal.com

A very good platform to showcase ur project and to get any project. happy tech surfing! :)


ps: Dont hestitate to call them. i did and it helped me incredibly!











© net-tutorials.com 2006 - 2012

MailContact net-tutorials.com