Instead of adding a form to your solution, add a class and then let it inherit from Form. then in the constructor you can create your own controls as you see fit like this:
class MyForm:Form
{
public MyForm()
{
Initialise();
}
private void Initialise()
{
Button myButton = new Button();
myButton.Text = "Press Me";
myButton.Click += new EventHandler(myButton_Click);
}
void myButton_Click(object sender, EventArgs e)
{
MessageBox.Show("Hello World");
}
}
Hope this helps