Udostępnij za pośrednictwem


Effects of Modifying a Base Form's Appearance

During application development, you may often need to change the appearance of the base form from which other forms in the project (or in other projects) are inheriting.

At design time, changes to the base form's appearance (be it the setting of properties or the addition and subtraction of controls) are reflected on inherited forms when the project containing the base form is built. It is not sufficient for you to simply save the changes to the base form. To build a project, choose Build from the Build menu.

Note

The dialog boxes and menu commands you see might differ from those described in Help depending on your active settings or edition. To change your settings, choose Import and Export Settings on the Tools menu. For more information, see Visual Studio Settings.

Modifications made to the base form at run time have no affect on inherited forms that are already instantiated.

See Also

Tasks

How to: Inherit Windows Forms

Reference

MyBase

base (C# Reference)

Other Resources

Windows Forms Visual Inheritance