Enterprise Information Development Platform (4) Form Design (I)

Source: Internet
Author: User

Form is an applicationProgramThe most direct window for interaction with users is also the most direct form of customer needs. Therefore, whether it is re-development or modification, if the form can quickly respond to the customer, the customer's goodwill to the company will be greatly improved (of course, if you are in a large company such as IBM, that's different, but a good tool is also essential ).

In the development process based on Visual Studio Tools, the development of a form often follows the following steps:

1. Place the underlying layout control;

2. Place the menu, toolbar, and status bar (in general, these items in winform will be placed in the main form, and webform will be placed in the master page );

3. Place various controls (such as grids, text boxes, and drop-down boxes );

4. Set Data Binding;

5. compile variousCodeIncluding data loading, verification, storage, and control status control.

After form development, if it is B/S, if it is a C/S program, it is often necessary to re-release the installation program or create an upgrade package. The worst case is that you have just completed the form and haven't had time to release it, and the customer's requirements have changed.

Based on the Visual Studio Form Designer, re-encapsulating a Form Designer that is more suitable for the business system is particularly important. It is then combined with the workflow engine, therefore, the development of general business modules (except the accounting process and ETL) will be zero code. Below I will introduce in detail the Form Designer under the Management Platform (based on winform, webform is still in the development stage), but this section only introduces the development and design of simple forms, the process-related forms will be introduced in the process design.

1. Introduction to designer Functions

Those who are familiar with Visual Studio development tools should have seen that the designer in is exactly the same as the form designer in the development tool. The Form Designer style follows the Form Designer style, the main purpose is to prevent programmers from re-using another tool for development.

Here I will only introduce two unique functions of the Form Designer: synchronization and publishing.

Glossary

Release: Upload a Form file (in. CS format) in the editing state to the server. The corresponding DLL file is generated on the server, provided to the running platform, and the version of the current form is updated.

Synchronization: downloads form files from the server to the local machine. If the local version is different from the server version, the user is asked to confirm whether to replace the form files.

Application scenarios

Solve source code management issues in daily development work.

I believe that my friends are very familiar with the VSS source code management tool. Synchronization and release provide similar functions. In addition, a very important function is to compile form files. The final files uploaded to the server include: form files (. CS format) and DLL files (provided to the running platform). Programmers only use form files when synchronizing data with the server.

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.