By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,338 Members | 1,344 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,338 IT Pros & Developers. It's quick & easy.

Enumarating Components for Windows Form?

P: n/a
Hi,

Can i enumarate the windows form's components? I want to list components on
the screen. Thanks...
(Note: I am using vs2005)
Mar 29 '06 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Hello sir!
This should work:
(in a Form)

foreach(IComponent component in components.Components)
{
//your code here
}

"Adam Right" wrote:
Hi,

Can i enumarate the windows form's components? I want to list components on
the screen. Thanks...
(Note: I am using vs2005)

Mar 29 '06 #2

P: n/a
Hi,

I am using toolstripmenu which is a component for windows form.. But when i
load the form the components is null. What is the reason for that? Thanks...

"Spectre" <Sp*****@discussions.microsoft.com> wrote in message
news:C0**********************************@microsof t.com...
Hello sir!
This should work:
(in a Form)

foreach(IComponent component in components.Components)
{
//your code here
}

"Adam Right" wrote:
Hi,

Can i enumarate the windows form's components? I want to list components
on
the screen. Thanks...
(Note: I am using vs2005)

Mar 29 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.