"cOdEmOnKeY" <cO********@discussions.microsoft.com> schrieb:
I have created a component that I add to the component tray at Design time.
I need to know how to access a property on this component at Runtime.
From
what I understand I should use Reflection to do this
Placing the component on the form will create a private variable holding a
reference to the component's instance. So, if you place a
'System.Windows.Forms.Timer' on your form, which is apparently a component,
and its name is set to 'Timer1', you can access the component using the
variable 'Timer1' inside the form/... you placed the component on.
--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>