Here is my latest test version:
http://www.multiupload.com/6B7WCY5QW2
This is the same as the application from before with another form and button.
I am surprised it works at all, and I know it is not clean.
My biggest concern is architecture, not the code itself.
I create a table as part of the new form thread. Is there any need to do that? I bind the data grid in the form to this table.
I thought I would need to invoke the new thread to add the log entry.
The log window is intender for a very limited number of lines, but theoretically I would like it to handle a new line with every iteration of the worker threads.
That may very well lock the log window thread so I should be able to close the new form without killing the entire application.
Also, since the datagrid is virtual, does that mean it would not hurt performance much since new rows are not drawn?
I dont think my approach is any good and certainly not clean. However is some the architecture sound, or at least simple to improve?
Thanks again.
http://www.multiupload.com/6B7WCY5QW2
This is the same as the application from before with another form and button.
I am surprised it works at all, and I know it is not clean.
My biggest concern is architecture, not the code itself.
I create a table as part of the new form thread. Is there any need to do that? I bind the data grid in the form to this table.
I thought I would need to invoke the new thread to add the log entry.
The log window is intender for a very limited number of lines, but theoretically I would like it to handle a new line with every iteration of the worker threads.
That may very well lock the log window thread so I should be able to close the new form without killing the entire application.
Also, since the datagrid is virtual, does that mean it would not hurt performance much since new rows are not drawn?
I dont think my approach is any good and certainly not clean. However is some the architecture sound, or at least simple to improve?
Thanks again.
