c# loop button

  1. I

    2 buttons, 1 loop

    Can anybody give me an idea on how I should proceed here? I have 2 buttons, start-stop, once pressed, calls a loop to start, anytime the loop is running, stop, once pressed. I have an idea about it like, checking if the stop is pressed but I don't think it's the most efficient.
Top Bottom