M
Matthew Smith
I have a placed a task which takes a long time into a thread. I want to
provided status of that task on a form. I tried using
System.Windows.Forms.Timer to create a timer which every second updates
the form with new values but it doesn't seem to run at times when my
task is running. I loop through an array of several objects and run the
an overriden method for each. The method loops though reading a file and
processing each record. The timer runs when looping through each object
but doesn't while looping through the records in the files. Is there
something simple to fix this or am I going about it the wrong way?
provided status of that task on a form. I tried using
System.Windows.Forms.Timer to create a timer which every second updates
the form with new values but it doesn't seem to run at times when my
task is running. I loop through an array of several objects and run the
an overriden method for each. The method loops though reading a file and
processing each record. The timer runs when looping through each object
but doesn't while looping through the records in the files. Is there
something simple to fix this or am I going about it the wrong way?