>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


>
> 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
ADVERTISEMENT
click here


Yahoo! Groups Links

Reply via email to