i couldnt find the constructor of the controls like textbox or button neither in the form.cs nor in the form.designer.cs. where are they?

oh stupid me, i just couldnt see it, the designer inserted my custom control's constructor to another section in the form.designer.cs.

Sorry about it.

Are you playing with designer generated code? That usually makes for a bad day :P

i play every code piece that is generated by visual studio. not even code, but also the configuration files, project files, solution files, inf files ini files what ever is generated by the IDE.