-
February 17th, 2009, 12:04 AM
#1
C# Form Updating Using Delegate or Callback?
I'm new to C# so please bear with me. I have a form with a text box and a couple of buttons.
The buttons are used to call some long running methods in a class. I would like to update the text box with some status information regarding the progress or failure of the method. What are some of the preferred best practices to accomplish this and keeping the code for the form isolated from the class code? I've looked at callbacks/delegates, etc, but I need a real simple example to get the gist of how this works.
Thanks In Advance
Tags for this Thread
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
|