Click here to Skip to main content
15,925,181 members
Home / Discussions / C#
   

C#

 
GeneralRe: insert statement for ms access Pin
Nish Nishant10-Aug-03 23:12
sitebuilderNish Nishant10-Aug-03 23:12 
GeneralWhich button was pressed... Pin
eggie510-Aug-03 21:29
eggie510-Aug-03 21:29 
GeneralRe: Which button was pressed... Pin
Meysam Mahfouzi10-Aug-03 22:25
Meysam Mahfouzi10-Aug-03 22:25 
GeneralRe: Which button was pressed... Pin
eggie511-Aug-03 0:20
eggie511-Aug-03 0:20 
GeneralRe: Which button was pressed... Pin
Heath Stewart11-Aug-03 2:48
protectorHeath Stewart11-Aug-03 2:48 
GeneralRe: Which button was pressed... Pin
eggie511-Aug-03 10:31
eggie511-Aug-03 10:31 
GeneralRe: Which button was pressed... Pin
Csharp™11-Aug-03 0:01
Csharp™11-Aug-03 0:01 
GeneralRe: Which button was pressed... Pin
Csharp™11-Aug-03 0:57
Csharp™11-Aug-03 0:57 
here's a quick example i built for you...
<br />
private void Form1_Load(object sender, System.EventArgs e)<br />
{<br />
    foreach(Control btn in this.Controls)<br />
{<br />
if(btn.GetType().Name=="Button")<br />
   {<br />
        btn.Click+=new System.EventHandler(this.Clicker);<br />
   }<br />
}<br />
}<br />
<br />
private void Clicker(object sender, System.EventArgs e)<br />
{<br />
    Button b=(Button)sender;<br />
    MessageBox.Show(b.Name);<br />
}

hope it helps Smile | :)


Csharp™  the coder formally known as dynamic


Me.twins.duedate = DateTime.Now.AddDays(+17).ToLongDateString
Me.Birthday = DirectCast(Me.twins.DueDate, DateAndTime.SameDay)


GeneralRe: Which button was pressed... Pin
eggie511-Aug-03 10:31
eggie511-Aug-03 10:31 
Generalreading serialized java Hashtable Pin
misterbear10-Aug-03 21:07
misterbear10-Aug-03 21:07 
GeneralRe: reading serialized java Hashtable Pin
Frank Olorin Rizzi11-Aug-03 1:42
Frank Olorin Rizzi11-Aug-03 1:42 
GeneralRe: reading serialized java Hashtable Pin
Heath Stewart11-Aug-03 2:34
protectorHeath Stewart11-Aug-03 2:34 
GeneralRe: reading serialized java Hashtable Pin
misterbear11-Aug-03 4:22
misterbear11-Aug-03 4:22 
GeneralGetting all of the items in a list box.. Pin
eggie510-Aug-03 18:29
eggie510-Aug-03 18:29 
GeneralRe: Getting all of the items in a list box.. Pin
Meysam Mahfouzi10-Aug-03 21:12
Meysam Mahfouzi10-Aug-03 21:12 
GeneralRe: Getting all of the items in a list box.. Pin
eggie511-Aug-03 0:21
eggie511-Aug-03 0:21 
GeneralDynamic TextBoxes Pin
deanoA10-Aug-03 16:27
deanoA10-Aug-03 16:27 
GeneralRe: Dynamic TextBoxes Pin
Nick Seng10-Aug-03 17:42
Nick Seng10-Aug-03 17:42 
QuestionCan I make this? Pin
deanoA10-Aug-03 16:02
deanoA10-Aug-03 16:02 
AnswerRe: Can I make this? Pin
Nish Nishant10-Aug-03 16:13
sitebuilderNish Nishant10-Aug-03 16:13 
GeneralRe: Can I make this? Pin
deanoA10-Aug-03 16:25
deanoA10-Aug-03 16:25 
GeneralRe: Can I make this? Pin
Nish Nishant10-Aug-03 17:50
sitebuilderNish Nishant10-Aug-03 17:50 
GeneralRe: Can I make this? Pin
Anonymous10-Aug-03 17:58
Anonymous10-Aug-03 17:58 
GeneralRe: Can I make this? Pin
Nish Nishant10-Aug-03 18:04
sitebuilderNish Nishant10-Aug-03 18:04 
GeneralRe: Can I make this? Pin
Kannan Kalyanaraman10-Aug-03 19:01
Kannan Kalyanaraman10-Aug-03 19:01 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.