Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

how do i Add inherited form in visual studio c# express edition

Posted on 2006-11-03
4
Medium Priority
?
1,177 Views
Last Modified: 2012-06-21
how do i Add inherited form in visual studio c# express edition?
0
Comment
Question by:schenkp
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
4 Comments
 
LVL 35

Expert Comment

by:Raynard7
ID: 17871521
Hi, can you please be a bit more specific?

If you create a new form - then just make it inherit the other form ie

     public class frmInherited : YourNamespace.FormNameToInheritFrom
    {


or review
http://www.codeproject.com/cs/miscctrl/visualinheritancewithcsharp.asp
http://www.akadia.com/services/dotnet_inherited_forms.html
0
 

Author Comment

by:schenkp
ID: 17871546
In visual studio 2005 all you do is select the Project menu then you select Add inherited form, i am at home useing the express version and that option is not under the drop down?
0
 
LVL 35

Accepted Solution

by:
Raynard7 earned 2000 total points
ID: 17871575
Hi,

You are correct this feature does not exist in c# express, there is no ability to add the template for this either.

I always create a new blank class and then just point it to inherit from the other form as I described above.
0
 
LVL 35

Expert Comment

by:Raynard7
ID: 17871763
thankyou for the mark and the grade
0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In order to hide the "ugly" records selectors (triangles) in the rowheaders, here are some suggestions. Microsoft doesn't have a direct method/property to do it. You can only hide the rowheader column. First solution, the easy way The first sol…
Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …

604 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