button, you would just examine the sender's Name property.
--Bob
----- Original Message -----
From: "Lude Gullit" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, November 12, 2004 10:01 AM
Subject: [C#.NET] Get the name of the clicked button
>
>
> Hi,
>
> I have two textboxs - txt1 and txt2- and two buttons-btn1 and btn2-
> and a calendar-cal1.
>
> I want to realize this function: if i click btn1, the selected date
> will appear on to the txt1; and if i click btn2, the selected date
> will appear on to the txt2. My problem is how can I know which
> button is clicked? Thanks
| 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.
