Microsoft Communities

Welcome to WindowsClient.net | Sign in | Join

Here are some frequently asked questions about Windows Forms and their answers.

Windows Forms FAQs

How do I prevent a component from being displayed in the Toolbox in Visual Studio?

Use the ToolboxItem attribute set to false on your component or control class. This will prevent it from appearing in the Toolbox.

[ ToolboxItem( false ) ] 
public class MyComponent : Component{..} 

Contributed from George Shepherd's Windows Forms FAQ



Page view counter