Solved

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

Posted on 2006-11-03
4
1,152 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 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Introduction Although it is an old technology, serial ports are still being used by many hardware manufacturers. If you develop applications in C#, Microsoft .NET framework has SerialPort class to communicate with the serial ports.  I needed to…
Summary: Persistence is the capability of an application to store the state of objects and recover it when necessary. This article compares the two common types of serialization in aspects of data access, readability, and runtime cost. A ready-to…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

749 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