btnSave.Click += new System.EventHandler(btnSave_Click);
This will wire up the button click with an existing btnSave_Click handler in
code. Take a look at your InitializeComponent() method in any form. You
should see bunches of these.
Michael
----- Original Message -----
From: "Stephen Russell" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, December 29, 2004 9:45 AM
Subject: RE: [C#.NET] Switch and can't convert
> Now do you know how to create a button click event in code? I have a
> doubleClick event that I'd love to click a button in, after I collect the
> "what part am I choosing."
>
> Stephen Russell
> S.R. & Associates
> Memphis, TN 38115
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.298 / Virus Database: 265.6.5 - Release Date: 12/26/2004
| 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.
