Hi,
Can someone tell me how to make this. I have winform wich read from file and make post request to web. I want to have one textbox where i can put time betwen every request.

for example:

I run my app and read whole file with(1000rows) and 2sec delay after every row. I use now Thread.Sleep() now in code side and i must change it in code side every time if i want different value ... will be better to have options to change this on my form.

Thank you

Here is the solution:

Thread.Sleep(int.Parse(TextBoxTime.Text));
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.