Hi Juan,
When we add a control onto a form, the default value of the Modifiers
property is 'Private', which means that this control couldn't be accessed
out of the form, including its inherited forms.
To make the control on the base form available to its inherited forms, we
set the Modifiers property of the control to 'Public' or 'Protected'. Build
the project and reopen the inherited form in the designer and you will see
the control on the inherited form is modifiable.
FYI, many new controls in VS2005 don't take the visual inheritance scenario
into account when originally designed. That is, even if you set the
Modifiers property of these controls to 'Public' or 'Protected' on the base
form, they are still NOT modifiable on the inherited form at design-time
(don't worry about it, these controls is modifiable in the inherited form
by code). This behavior is by design.
These controls are listed below.
ToolStrip, MenuStrip, ContextMenuStrip and StatusStrip
ToolStripContainer
ToolStripPanel
SplitContainer
TableLayoutPanel
FlowLayoutPanel
DataGridView
MaskedTextBox
WebBrowser
Hope this helps.
If you have anything unclear, please feel free to let me know.
Sincerely,
Linda Liu
Microsoft Online Community Support
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.
Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.