Get name of control calling method
        Posted  
        
            by Jimmy
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Jimmy
        
        
        
        Published on 2010-04-21T10:10:51Z
        Indexed on 
            2010/04/21
            10:13 UTC
        
        
        Read the original article
        Hit count: 293
        
My form has several numeric up down controls. All of these controls, when changed, call the same method:
    private void SetColors(object sender, EventArgs e)
How do I determine which control called the method?
© Stack Overflow or respective owner