Multiple Programming Languages (C #, VB. NET, Delphi. Net)

Source: Internet
Author: User
Tags reflector

EPN ApplicationProgramThe framework is fully written in C # and can be called by any. Net Language as a rapid development framework of win forms.

If you are not familiar with the VB language, how can you write the sample of the VB language?

 

First look at the EPN solution view, familiar with the type library to be referenced

Description of each project

Project name

Intention

BPM

Workflow

Project Type

Activity library, test console, designer, monitor

Form Designer

Form Design

Project Type

Form control library, designer, and form Runtime

Report profiler

Report design tools

Query designer, query tracker, query tracking and monitoring

Report

Reports

Query Design Tools, Report programs, and report extensions

Common, component, EPN Utility

Utility library, Component Library, and tool Extension

EPN Server

Applications, reports, and workflow servers

Foundation, kernal

Core Programs, components, and basic functions of the framework

Starup main

Client Startup Program

When some modules or functions are written in VB, they are completely converted to C # during upgrade and production #.

Now you need to write the sample and demo programs in VB for it. This is because the user who uses the framework may be a VB programmer rather than a C # programmer #.

 

VB. NET

There is a skill in converting VB and C:

Compile the C # program into an assembly, open it with reflector, and select the target language as VB.Code

Export with menuSource code

You can see the source code of VB.

The limitation of this method is that any changes to the Code require comipler, build, reflector, and many steps, which is troublesome.

Let's take a look at this source code-level conversion tool.

C # language on the left and VB language on the right. The tool is intended to convert the code on the left to the Code in the specified language and display the code on the right.

The Target Setting dialog box is as follows:

See, set different directions to convert VB to C #

Since the conversion of a single file is realized, it is not complicated to implement the conversion of a project file (csprjo) or solution file (SLN.

In this way, if you are not familiar with the VB language, you can use this tool to write a lot of VB samples.

 

Delphi. net

Another language, Delphi. net

This tool named chrome joyride can be re-hosting to Visual Studio to implement. Net operations using the Delphi syntax.

Only the syntax is different. The rest of the knowledge is completely. Net knowledge. In this way, you can provide another language for writing samples.

Change the type inherited by the form to class (EPN. winui. Forms. entryform). The Form Designer has correctly recognized the base type.

It is similar to VB. NET and C # development methods.

Chrome joyride was later evolved into oxygen gene, and then evolved into today's Delphi prism. The product name changed once and then, and the club changed again.

SIGHS That, even abroad, only a few companies like Microsoft can achieve product consistency and consistency.

 

J #

In Visual Studio. NET 2003 and Visual Studio 2005, there is another language J #. This language uses Java syntax to create. Net hosting programs.

Unfortunately, after. Net 3.0, the language was abandoned and the new version of IDE was not supported.

There are still many products created using J #, such as the famous SQL tool series Red Gate.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.