Component generate code

May 14 2004 12:14 AM
Hi, I implement a component in CSharp, when it is dragged and dropped in to a form, it will auto-generate some more code in the form's container. I have 2 problems that needing you help: - How can I now which is the form that my component is added? - Is there any ways to insert a code line into the current code of the form? Thank you very much for your help.