0

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

Edited by JasonWung

1
Contributor
1
Reply
2
Views
5 Years
Discussion Span
Last Post by JasonWung
0

Here is the solution:

Thread.Sleep(int.Parse(TextBoxTime.Text));
This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.