C
C#11mo ago
Hatoruk

Winforms infinite-loop

How can I run a Loop in Windowsforms
6 Replies
Anu6is
Anu6is11mo ago
just like you'd run a loop anywhere else $details
MODiX
MODiX11mo ago
When you ask a question, make sure you include as much detail as possible. Such as code, the issue you are facing, and what you expect the result to be. Upload code here https://paste.mod.gg/ (see $code for more information on how to paste your code)
Hatoruk
HatorukOP11mo ago
how do I make a loop
Anu6is
Anu6is11mo ago
there are different types of loops, you will need to provide more context. Also, this is something that's easily found on google https://learn.microsoft.com/en-us/dotnet/csharp/tour-of-csharp/tutorials/branches-and-loops-local#use-loops-to-repeat-operations
Hatoruk
HatorukOP11mo ago
thank you
fshollow
fshollow11mo ago
If you are trying to create a loop that repeats the entire time then use a threaded timer https://learn.microsoft.com/en-us/dotnet/api/system.timers.timer?view=net-8.0
Timer Class (System.Timers)
Generates an event after a set interval, with an option to generate recurring events.

Did you find this page helpful?