Component Problems

  • Thread starter Thread starter Tom John
  • Start date Start date
T

Tom John

Hi

I am trying to write a group of controls that interact. Basically,
these controls are a TreeView, a ListView and a TabControl.

By checking items within the TreeViewdifferent results will be
displayed on the ListView, selecting an item on the ListViewwill
display it as a tab on the TabControl.

These three controls work with data, properties and methods within a
Manager class. I believe this manager class should be a component and
have therefore inherited Component within the class.

I now want to be able to drop an instance of the Manager component
into the Component Tray of a form within the same project, to allow
the properties to be modified within the .Net IDE, i am unable to
achieve this.

Anyone know how this is done?

Thanks

Tom
 
Its easiest (and the only way I know how visually) to create your component
in a separate class project, and reference that (add it to the toolbox too)
and you will be ready to go.

There are a lot of things you have to look at when doing component
development, espeically if your assigning visual properties. Be sure to
look at DesignTimeSerialization for your properties.

peace homie...
 
Back
Top