Windows Develop Bookmark and Share   
 index > Windows Forms Designer > Accessing component from another form
 

Accessing component from another form

Hi all

I'm totally new to Visual Studio, coming from Delphi.
My question, I'm sure is pretty trivial.

I'm using C#

I have a component class (Project/Add Class/Component Class). In this
component class, I drop an ImageList.

Now, in my main form, I put a button. I would like to define the ImageList
property of my button to be the one created in the component class. I can
achive this by code but I want to define visually (at design time) the
property so I can select the ImageIndex property before compiling.
hieronymus  Saturday, April 15, 2006 3:26 PM

You cannot do this except using code.

Phil Wright
http://www.componentfactory.com
Free UI control library for .NET2

Philip Wright  Saturday, April 22, 2006 9:40 AM

You cannot do this except using code.

Phil Wright
http://www.componentfactory.com
Free UI control library for .NET2

Philip Wright  Saturday, April 22, 2006 9:40 AM

You can use google to search for other answers

Custom Search

More Threads

• Gah! The designer is filling in my properties for me!!
• Automatic Event Handler creation when clicking on controls in designer.
• DesignSurface with Tabbed format
• Open Form in VS2005 takes a LONG time
• The ITypeDiscoveryService service provider
• How can I use the Forms Designer colour ComboBox control?
• License a control
• Custom combobox behavior
• Running 3rd party program inside tab control with no API
• Design time right-click menu item