Initial winforms content migrated (#18)

* Merge winforms framework content to working branch (#14)

* Breadcrumb / TOC / Move net5 to net folder (#15)

* change path from net5 to net

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Add .net 5 winforms placeholder article (#16)

* added some metadata and adjusted net5 placeholder

* corrections

* corrections

* corrections

* Test1

* Swapping landing page vs concept

* fix links

* Fix links

* Fix desc
This commit is contained in:
Andy De George
2020-09-01 16:26:21 -07:00
committed by GitHub
parent 1a27c9b107
commit c0ba284473
1557 changed files with 129980 additions and 13 deletions
@@ -0,0 +1,43 @@
---
title: Visual Inheritance
ms.date: "03/30/2017"
helpviewer_keywords:
- "base forms"
- "inheritance [Windows Forms], forms"
- "inherited forms [Windows Forms], Windows Forms"
- "inheritance"
- "inherited forms"
- "form inheritance"
- "Windows Forms, inheritance"
ms.assetid: 857eb737-3602-4d49-bd8b-f70d33ace345
---
# Windows Forms Visual Inheritance
Occasionally, you may decide that a project calls for a form similar to one that you have created in a previous project. Or, you may want to create a basic form with settings such as a watermark or certain control layout that you will then use again within a project, with each iteration containing modifications to the original form template. Form inheritance enables you to create a base form and then inherit from it and make modifications while preserving whatever original settings you need.
You can create derived-class forms programmatically or by using the Visual Inheritance picker.
## In This Section
[How to: Inherit Windows Forms](how-to-inherit-windows-forms.md)
Gives directions for creating inherited forms in code.
[How to: Inherit Forms Using the Inheritance Picker Dialog Box](how-to-inherit-forms-using-the-inheritance-picker-dialog-box.md)
Gives directions for creating inherited forms with the Inheritance Picker.
[Effects of Modifying a Base Form's Appearance](effects-of-modifying-base-form-appearance.md)
Gives directions for changing a base form's controls and their properties.
[Walkthrough: Demonstrating Visual Inheritance](walkthrough-demonstrating-visual-inheritance.md)
Describes how to create a base Windows Form and compile it into a class library. You will import this class library into another project, and create a new form that inherits from the base form.
[How to: Use the Modifiers and GenerateMember Properties](how-to-use-the-modifiers-and-generatemember-properties.md)
Gives directions for using the `GenerateMember` and `Modifiers` properties, which are relevant when the Windows Forms Designer generates a member variable for a component.
## Related Sections
[Inheritance basics (Visual Basic)](https://docs.microsoft.com/dotnet/visual-basic/programming-guide/language-features/objects-and-classes/inheritance-basics)
Describes how to define Visual Basic classes that serve as the basis for other classes.
[class](https://docs.microsoft.com/dotnet/csharp/language-reference/keywords/class)
Describes the C# approach of classes, in which single inheritance is allowed.
[Troubleshooting Inherited Event Handlers in Visual Basic](https://docs.microsoft.com/dotnet/visual-basic/programming-guide/language-features/events/troubleshooting-inherited-event-handlers)
Lists common issues that arise with event handlers in inherited components