Question?? With Buttons

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Benk15
    New Member
    • Sep 2008
    • 2

    #1

    Question?? With Buttons

    I build for school aprogram in C#. I have array of buttons. when i clickwith the mouse on one of them I want do different things. Now How Can I Know which botton I clicked. How I use The Sender or EventArgs e to know this??
    thanks fo the helpers.
  • tlhintoq
    Recognized Expert Specialist
    • Mar 2008
    • 3532

    #2
    Welcome to the wonderful world of programming.

    Its a fine line between asking for help with a block of code that you've already written, but can't find a bug in (which is what these forums primarily are for) and asking for on-line tutoring. Well, maybe not that fine of a line.

    There are literally hundreds of on-line tutorials for getting started.

    If you do a google search for "C# My First Program " you will get dozens of links and sites for just this sort of thing.

    Also, if this is for school you might want to re-read the text book and talk to the teacher, letting him/her know that you need a little help getting started on the assignment or understanding the previous lesson that this assignment is for.

    Comment

    Working...