Reference a Form Instance From Static Class

J

Jordan S.

I have a .NET 2.0 Windows Forms application that processes thousands of rows
returned via a DataReader. The processing takes place in a static class. I
would like for the processing logic to update information displayed in a
specific form instance. How can get a reference to the form instance from
the static class?

Thanks!
 
M

Michael C

Jordan S. said:
I have a .NET 2.0 Windows Forms application that processes thousands of
rows returned via a DataReader. The processing takes place in a static
class. I would like for the processing logic to update information
displayed in a specific form instance. How can get a reference to the form
instance from the static class?

Pass in a reference.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top