How We can find all the Component in a Form (DesignTime)

How We can find all the Component in a Form on DesignTime
such as sqlConnection or eventlog etc...
shayan_rezvaniAsked:
Who is Participating?
 
vadivhereCommented:
You can design a form with grid and all those stuffs, and use System.Reflection to extract all your properties and objects present in ur component.

Check out msdn.

Cheers!
0
 
shayan_rezvaniAuthor Commented:
I want to create a component to do those operation
0
 
vadivhereCommented:
Hi shayan_rezvani,

You mean that you are creating a component, which displays all the components?

or

You mean that you are creating a component, which has to be seen in the design time?

Please come with clear picture of your question
Cheers!
0
Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
shayan_rezvaniAuthor Commented:
I mean that you are creating a component, which displays all the components
0
 
shayan_rezvaniAuthor Commented:
Im Creating a Component ,which displays all the components
0
 
shayan_rezvaniAuthor Commented:
Im Creating a Component ,which displays all the components in DesignTime
0
 
shayan_rezvaniAuthor Commented:
in PropertyGride in selectobject property when we click on this property it shows all the Object
in this Form The propertygride how do that???
0
 
Diane258Commented:
So what you are saying is you want a componet that will...in design, generate a report of all the componts you have added to the project?

If that is the case then Microsoft has already done the work for you.
0
 
shayan_rezvaniAuthor Commented:
I Want do this work Dynamicly
0
 
shayan_rezvaniAuthor Commented:
Tanks Dear Friend
Please say me by which class i can extract the components
0
 
shayan_rezvaniAuthor Commented:
My Friend
I tried to do that with System.Reflection but i couldn't.
with that i can just extract the properties not objects
please guide me
0
 
shayan_rezvaniAuthor Commented:
tanks my Friend Ido that
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.