动态生成的表中,怎么点击动态生成的删除按钮,来删除它所在的行

动态生成的表中,如何点击动态生成的删除按钮,来删除它所在的行?
动态生成的表中,如何点击动态生成的删除按钮,来删除它所在的行?

------解决方案--------------------
private void button1_Click(object sender, EventArgs e)
{
Button newbtn = new Button();
newbtn.Name = "new";
newbtn.Text = "new";
newbtn.Size = new Size(100, 50);
newbtn.Location = new Point(newbtn.Location.X+200,newbtn.Location.Y+100);
newbtn.Visible = true;
this.Controls.Add(newbtn);
newbtn.Click += new EventHandler(newbtn_click);

}
private void newbtn_click(object sender, EventArgs e)
{
MessageBox.Show("success");
}