for (i=0;i<this.Controls.Count;i++)
{
                                     Button b = this.Controls[i] as Button;
                                     if(b != null)
                                   { 
listBox1.Items.Add(b.text);
                                   }
}