Panel for configuration

Christian B

Member
Joined
Aug 5, 2005
Messages
9
Programming Experience
3-5
Hi,
I want to put a panel into a class lib dll wich offers a specialized config GUI for the Hardwaredriver included in the same dll.

What have I to do to implement such a Panel as vb.net class an how can i load easily the Panel in my Main Form?

I've tried AddNewItem -> Component
but I had no success adding a new Instance to the form Container.

Can someone Post me an example or help me creating such a panel?

thx
Christian
 
In your library project you should create a UserControl, which is basically a container for other controls that you can treat as a single unit when added to a form. All the individual controls that you add are hidden from the outside, programatically speaking, and the only way your UserControl can be manipulated is by the interface that you provide. Once you compile your library, you can add your UserControl to the Toolbox and use it like any other control.
 
Back
Top