A
Adam Right
Hi,
I want to get the controls of the windows form. I know that
form.Controls give me the list of controls but i have a problem. For
example, the toolstripmenu control cannot be reached with that way. My goal
is to list the items of the toolstripmenuitem on the form. I have only the
typename of the windows form so i am invoking the form with its typename,
and i can reach the controls like buttons,labels etc. But i cannot get the
toolstripmenu, because it is not added as a control onto the form. So, is
there a way to get the list of such controls? I think it must be. Because
code intellisense gives me the all controls,members of the form when i hover
the mouse on the form name.
Thanks...
Adam.
I want to get the controls of the windows form. I know that
form.Controls give me the list of controls but i have a problem. For
example, the toolstripmenu control cannot be reached with that way. My goal
is to list the items of the toolstripmenuitem on the form. I have only the
typename of the windows form so i am invoking the form with its typename,
and i can reach the controls like buttons,labels etc. But i cannot get the
toolstripmenu, because it is not added as a control onto the form. So, is
there a way to get the list of such controls? I think it must be. Because
code intellisense gives me the all controls,members of the form when i hover
the mouse on the form name.
Thanks...
Adam.