You can always call a click event handler from your code (in addition to Windows invoking it). However, if there's some processing that could occur due to multiple reasons, I would put that code in a separate function that the click event handler calls. This new function is what you would call from your code as you described. This separate function would also make it easier to put it in a async delegate if needed in the future (or if needed for only certain scenarios).
kevin aubuchon
>
> From: "Stephen Russell" <[EMAIL PROTECTED]>
> Date: 2004/12/29 Wed PM 02:45:24 GMT
> To: <[EMAIL PROTECTED]>
> Subject: RE: [C#.NET] Switch and can't convert
>
>
[Non-text portions of this message have been removed]
| Yahoo! Groups Sponsor | |
|
|
Yahoo! Groups Links
- To visit your group on the web, go to:
http://groups.yahoo.com/group/CSharpNET/
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
