Hi,
Can anyone give me some examples with threads with win forms. I have one form which make post request to a server. When i start form and hit "start" button my form read one .txt file. I want to make when start .. read 50 rows then stop and waiting for another click on "start" . Then read next 50 rows.
JasonWung
0
Light Poster
Recommended Answers
Jump to Postbut, i dont think you wil need a thread for this, in Start_Click event write your logic, in that have a loop which can read 50 rows, disable the start button until 50 rows are read, then enable it, again for the next click, read the next 50 rows.
All 4 Replies
JasonWung
0
Light Poster
arunkumars
14
Junior Poster
skatamatic
371
Practically a Posting Shark
JasonWung
0
Light Poster
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.