Creating a WinForm as a base class

Posted on 2008-11-13
Last Modified: 2013-12-17
I never had the reason to build a base class of my own from which I could then inherit subclasses.  But this seems like a good way to have similarities.  

Is this the way to share controls, or would it be better to create your own user controls and add them to Windows Form direct descendants?

How does CAB play into this?  is it another way of sharing controls?

I am interested in learning more about inheritance hierarchies with WinForms, so in what kinds of ways might a project benefit from inhreritence?  What kinds of things can be inherited?

I read that events are properties, for example.  And using the abstract keyword can force subclasses to implement them.  What other kinds of neat things can be done with WinFoms and inheritance?

Question by:newbieweb
    1 Comment
    LVL 7

    Accepted Solution

    Hi there,

    Here is a link to an article that will give you a lot of information.


    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Join & Write a Comment

    Suggested Solutions

    Welcome my friends to the second instalment and follow-up to our Minify and Concatenate Your Scripts and Stylesheets (…
    In my previous article ( we saw the basics of serialization and how types/objects can be serialized to Binary format. In this blog we wi…
    This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
    The viewer will learn how to use NetBeans IDE 8.0 for Windows to connect to a MySQL database. Open Services Panel: Create a new connection using New Connection Wizard: Create a test database called eetutorial: Create a new test tabel called ee…

    755 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now