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 modify properties only for new controls added to the designer?

Override the InitializeNewComponent method on the ComponentDesigner attached to your control. This method is run the first time a control or component is added to the design surface. The corresponding InitializeExistingComponent is called when a control or component is created by either reopening the designer or reparsing the code in InitializeComponent.



Page view counter