Reference a Form Instance From Static Class

  • Thread starter Thread starter Jordan S.
  • Start date Start date
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!
 
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.
 
Back
Top