John Rogers

John Rogers

  • NA
  • 16
  • 0

using form controls in other objects

Apr 23 2009 8:53 PM

I am trying to test running a threadpool timer in a class outside of a form class and have the event from the timer create a message in a texBox in my main Form.  Not sure teh best way to do this...I can't see the textBox in the other object...

I can easily instantiate the object and start teh timer in a method from that object....but not sure how to create the event, AND use it in the code runnig in the Form.

I am working up to learning how to run a time consuming process (IO of course) in a separate thread then pass buffers of data to the form....and I 'm trying to start simple...no luck so far on the simple part...

 

Thanks


Answers (5)