0
Stop a program if a condition happen.
Hi .i wrote a program and it stars with a button press. I want to stop program if some condition happen and program go back to the point before button pressed.can anyone help me please
2 odpowiedzi
+ 1
while(condition)
//things you want to do..
//things you want to do..
//things you want to do..
Application.Restart();
0
thanks alot. it is helpful.