I have C#.NET program and I want to check something every 2 seconds until my form is closed. This cycle doesn't enable with user for other hand when user run my C#.NET form cycle is start until form closed.
For example I want to check internet connection when my form is used. I don't like checking the connection in form.load;
. I want to check connection is every time.