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();

You would add something like either of the following statements:

mybtn.Click += new EventHandler(mybtn_Click);
mybtn.Click += mybtn_Click;

wow thanks,it's working.