C# While loop until button click
Hey i am writing a program for school project and i need some help. (Yes i
have been on Google searching for help)
I am making a program in Winforms (C#) in MS visual studio 2012
i need the code to do this
code code code
Event for button click from user
//Start while loop..
Do
{
code code code
code code code
} (!button not click again)
I know that many talk about multithreading but i think that i am to low
lvl to work whit that for now, so if i can avoid it i will.
I am still pretty new in programming so please don't hate on my noob
question.
Tanks in advance.
No comments:
Post a Comment