I am trying to place some controls like textbox on a form.Instead of placing directly by clicking on the tool bar and then placing on the form I want to write a macro or a add-in that would automatically do the job for me. Is it possible.

Also once it places the code in my form1.cs file I should be able to see those controls in visual studio designer.

Most of the time when I add some code my self directly to InitializeComponent its no reflected in visual studio designer.

Any help or sample source code is appreciated