Quote Originally Posted by izzetbaysal
Hi all,
i am working on a project that i need to create a component class for my project and i want to be able to reach the project from the component class.
What do you mean with 'reach' If you design a component it can have an owner or parent property so you always can have access from your control to the form where it is placed. You can have different events or delegates, interfaces whatever to establish the comm between your control and the project where it is used. You also can use reflection if needed, so whats eactly the problem you have ?
Never designed a component in before ?
The article series in the bottom of my signature shows how to design controls / components based on the example of dockable panels.
Its written for beginners who have never designed any control in before. Shows lots of techniques including hooking, Typeconverter and others. if interested you can go through that stuff. Full code after each article included. Lots of pictures.