-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 29, 2004 12:43 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: RE: [C#.NET] Switch and can't convert
>Now do you know how to create a button click event in >code?
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
| 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.
