all groups > dotnet windows forms designtime > february 2006 >
You're in the

dotnet windows forms designtime

group:

Using my own component without adding to toolbox, "Toolbox Setup"


Using my own component without adding to toolbox, "Toolbox Setup" pRumpf NO[at]SPAM procom-gmbh.com
2/9/2006 9:47:33 AM
dotnet windows forms designtime:
Hi,

I create my own component

public class MyComponent : System.ComponentModel.Component
{
....
}

1)
Can I add MyComponent to a Form using the designer, without adding
MyComponent into the toolbox ?

2)
Is it possible to "Setup" the Toolbox for different Projects ?
My Problem is that ttere are lot of Controls and Components in the
Toolbox I added somewhere along the way...

Thanks
Peter
Re: Using my own component without adding to toolbox, "Toolbox Setup" jokiz
2/10/2006 7:08:20 AM
1. you can interact with IDesignerHost.CreateComponent then add it to a
component which is already sited on the designer surface.

2. i believe this is possible, but i currently don't have the exact
steps.
AddThis Social Bookmark Button