Something like this works ...

[CODE] private void Form1_Load(object sender, EventArgs e)
{
btn0.Click += new EventHandler(ButtonClickHandler);
btn1.Click += new EventHandler(ButtonClickHandler);
// etc.
}

    private void ButtonClickHandler(object sender, EventArgs e)
    {
        Button btn = (Button)sender;
        if (btn == btn0)
        { 
            // Handle btn0 ...
            // etc.
        }
    }[/CODE]