Need to update textbox on the main form from another class
Posted on 2008-10-07
I have a windows application form which has a textbox. I need to update the textbox on the main form from another class.
If I have a button and textbox.when I click the button, it creates an object of another class and calls the method of the class. Asthe method is running it is looping through rows. It sends a message as it completes each row. I want that message to be displayed in th textbox.
Do we need to use delegates??/
Can you please provide me a solution for this.