S
Sauli V
I've got a form code from which I call ExcelObject class to perform writing
to Excel and saving the sheet. The process is too slow and I'd like to
update my form's status bar's panel with number of records processed.
My question is since the form and ExcelObject are functionally separate
(encapsulation), how can I update status bar panel from Excel object?
C# supposedly has references but only for passing variables to methods. I
can create a string and pass it to the method by reference and if I change
the value of it inside the method, but how to tie that string to status
bar's panel's text property?
Any ideas?
to Excel and saving the sheet. The process is too slow and I'd like to
update my form's status bar's panel with number of records processed.
My question is since the form and ExcelObject are functionally separate
(encapsulation), how can I update status bar panel from Excel object?
C# supposedly has references but only for passing variables to methods. I
can create a string and pass it to the method by reference and if I change
the value of it inside the method, but how to tie that string to status
bar's panel's text property?
Any ideas?