This is what i want to do:
 .... 
for(i=0;i<=99;i++)
        {
            btn[i].Click += new EventHandler(btn_Clicked,i);
        }
    }
    private void btn_Clicked(object sender, EventArgs e,int i)
    {
        compute((Button)sender, picRetrieved[i]);
    }
Please help. It is showing error. But, I want to send the value of i for further processing. Is there any way to do it?
Thank you.
 
     
     
    