I have created a custom text box control. I have using it in a windows form. But when I am building my solution, the location of the control is changing. Why is this happening? Please let me know.


Please post some of your source code, and giving the location displayed in the properties window. Am I correct in assuming you mean that the location is changing between where it is in the designer, and where it is when the program is running? If so, looking at the Form constructor and InitializeComponent() method would be a good start.