Hi all,
I am having application in c# with on main form and other 3 classes.
Say suppose i have class1, class2.
I have progressbar in main form which i have to update.
I have one method in main class which is my thread procedure.
In thread procedure i am calling method of class1. In method of class
one i am calling method of class2.
And in method of class2 i am raising one event with parameter as
percengate which i am trapping in class1. and again in class1 i am
raising that event which is getting trapped in main form.
This whole process is in thread.
My question is what i am doing as said above is write or not. Means
whether i am updating UI thread properly or not by raising event.
Please correct me if i am wrong.
Thanks in advance.
Archana.