I have a Windows Form called frmBatch.cs. It's the user interface I'm using for my project. In the code, I have a Server object (which I defined in another class).
Inside my Server object, I have a function where I add a batch to a batch server. During this process, I would like to update a status TextBox on frmBatch.cs to indicate which batch is currently being added.
How would I do this? I'm guessing I need to create a reference to the form in my Server object but I'm not sure of the best way to go about this.