Quiz Help

Posts 12 of 2 · Page 1 of 1
Quiz Help
iam making like a simple quiz program using C# windows application


i made 4 check boxes each check box have it's own answer

and a label which show up the question

and a progress bar

i got 2 problems

when check box more than once it keep at progress to the bar

i need it to add it once

and other problem

wanna change question whenever any box checked

i made it like this

Code:
if (checkbox1.checked = true;)
label1.text = "New Question?"
but when tried to repeat that code again to be
Code:
{
if (checkbox1.checked = true;)
label1.text = "New Question?"
}
{
if (checkbox1.checked = true;)
label1.text = "New Question Again?"
}
it gives the main question + New Question again and it skip New Question
if (checkbox1.Checked)
{
//codes
}
Posts 12 of 2 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?