Solved

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

Posted on 2006-11-03
4
1,137 Views
Last Modified: 2012-06-21
how do i Add inherited form in visual studio c# express edition?
0
Comment
Question by:schenkp
  • 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 500 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

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…
This article describes a simple method to resize a control at runtime.  It includes ready-to-use source code and a complete sample demonstration application.  We'll also talk about C# Extension Methods. Introduction In one of my applications…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).
As a trusted technology advisor to your customers you are likely getting the daily question of, ‘should I put this in the cloud?’ As customer demands for cloud services increases, companies will see a shift from traditional buying patterns to new…

863 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

26 Experts available now in Live!

Get 1:1 Help Now