I'm new to C# and have a fundamental question I'm sure you could all answer in your sleep.
I have a form and on clicking a button instantiate a new class and loop through a series of files. After each file I want to update a progress bar on my form to show how many files have been processed. How can I do this? Can I use a public method on my form or is this just not possible. I know that if I'm using a child mdi I can use a cast to call back up to the parent to get a public method but how do I do it in this case?
Thanks all!!
I have a form and on clicking a button instantiate a new class and loop through a series of files. After each file I want to update a progress bar on my form to show how many files have been processed. How can I do this? Can I use a public method on my form or is this just not possible. I know that if I'm using a child mdi I can use a cast to call back up to the parent to get a public method but how do I do it in this case?
Thanks all!!