|
-
Jan 11th, 2005, 02:58 PM
#1
Thread Starter
Addicted Member
Events Help
I am learning C# after working with VB6 for about three years and I am having one heck of a time with EVENTS in C#. I know that I have to use DELEGATES but here is the thing. Let’s say I have one cs file Called "processing" and a Class in that file called "processing" and then I also have a form1.cs file with a class called "formclass". Now, let’s say I am processing some database records or some other data and I want to raise an EVENT in the "Processing" class of the "Processing.cs" file to update a progress bar on form1.cs. How can I do this? Every example or tutorial I have seen on EVENTS have the events triggered from the form class. I know this can be done, but the whole DELEGATES and EVENTS thing seems to be really confusing.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|