Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Class generator for .NET

Posted on 2003-03-13
4
Medium Priority
?
1,540 Views
Last Modified: 2010-08-05
Hello,

I am looking for a class generator for VB.NET and C#

In VB i was able to use an Add in to create the basic structure of my classes and after that i only needed to modify those properties i (really) cared about.

Now i am using .NET and i cant seem to find those ADD-Ins anymore.


I hope they still exist? If so , can anyone tell me where to find them?

Thanx a lot

0
Comment
Question by:rdrunner
4 Comments
 
LVL 4

Expert Comment

by:bgungor
ID: 8129044
I can't tell you about VB.NET, but in C#, most of the generation features are hidden in the Solution Explorer and the Properties window.

For instance, when you want to generate a new class file, you right click on your project and Add -> New Class.  That will create the stub for your class.  You change which class your new class derives from by typing in the code.  In other words, you can't specify when you create your class that it derives from another class.

public NewClass : BaseClass

When you do this, you can go into Class View, open up your class, click on the Bases and Interfaces, and when you right click on a method, it will permit you to override that method in your new class.

In the properties window (for forms controls), you normally look at all of the properties, however there are other buttons on the top of that windows that allow you to view Events.  If you find the event you want to handle in your form, you can double click the event name, and it will automatically create the handler for you, just as VB 6 would do with its drop down list of events.

I realize my suggestions are not exhaustive, and I am sure I have not listed all of the ways to enhance your programming productivity, but I hope I have given you enough of a hint to get you started.  I suggest you look at the documentation for these little tips on coding more easily.  Perhaps the VB.NET tips are hidden in the docs too.  

Good luck,

Bg
0
 
LVL 4

Accepted Solution

by:
DJDoug earned 800 total points
ID: 8129080
0
 
LVL 11

Author Comment

by:rdrunner
ID: 8147375
Thanx a lot
0
 

Expert Comment

by:dwhitedurango
ID: 23332705
I found neither of these solutions acceptable.
0

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

Question has a verified solution.

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

Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
Simulator games are perfect for generating sample realistic data streams, especially for learning data analysis. It is even useful for demoing offerings such as Azure stream analytics, PowerBI etc.
Screencast - Getting to Know the Pipeline
How can you see what you are working on when you want to see it while you to save a copy? Add a "Save As" icon to the Quick Access Toolbar, or QAT. That way, when you save a copy of a query, form, report, or other object you are modifying, you…
Suggested Courses

580 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