[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 276
  • Last Modified:

Creating a WinForm as a base class

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?

1 Solution
Hi there,

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



Featured Post

Upgrade your Question Security!

Add Premium security features to your question to ensure its privacy or anonymity. Learn more about your ability to control Question Security today.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now