|
-
September 20th, 2008, 03:46 PM
#2
Re: c# component class help please
 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.
 Jonny Poet
To be Alive is depending on the willingsness to help others and also to permit others to help you. So lets be alive. !
Using Code Tags makes the difference: Code is easier to read, so its easier to help. Do it like this: [CODE] Put Your Code here [/code]
If anyone felt he has got help, show it in rating the post.
Also dont forget to set a post which is fully answered to 'resolved'. For more details look to FAQ's about Forum Usage. BTW I'm using Framework 3.5 and you ?
My latest articles :
Creating a Dockable Panel-Controlmanager Using C#, Part 1 | Part 2 | Part 3 | Part 4 | Part 5 | Part 6 | Part 7
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|