I need some help on how can i put some Event handler on my Button mybtn using code.
private void button1_Click(object sender, EventArgs e)
{
Button mybtn = new Button();
mybtn.Text = "First";
FlowLayoutPanel flowlayoutpl = new FlowLayoutPanel();
flp.Controls.Add(mybtn);
panel.Controls.Add(flowlayoutpl);
}