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. Furthermore when i drag the component onto the form from the toolbox, i want it to be visible on the form like form controls (buttons, textboxes etc. ) and i want to reach the controls of the parent form which the component added, keeping the parent form's controls private. I used IExtenderProvid er interface to reach the parent form's controls but it is not possible at runtime.
Is there a good way to manage this or would you recommend something better?
Any help would be appreciated.
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. Furthermore when i drag the component onto the form from the toolbox, i want it to be visible on the form like form controls (buttons, textboxes etc. ) and i want to reach the controls of the parent form which the component added, keeping the parent form's controls private. I used IExtenderProvid er interface to reach the parent form's controls but it is not possible at runtime.
Is there a good way to manage this or would you recommend something better?
Any help would be appreciated.