Build your own. Net winform Development Platform (1)

Source: Internet
Author: User

Continue to do. Net winform project, from vs2002, 2003 to 2005. Although ms vs is getting dumb, it still makes people think that many things are complicated.

For example, database operations, such as writing basic classes and methods. Of course, in 2005, the macro provided by vs is a very good tool, but according to my contacts, it is not much better than what we use. In view of the habits of thinking and coding habits. Gradually encapsulate some abstract methods and structures.


Build a set of DLL in your own style.

Refer to dbah and further extend access, that is, one-step encapsulation is consistent with SQL Server operations. When changing the database from access-> SQL Server, you can only configure the config file without changing it.Code.

Through inheritance, the basic operations are encapsulated. For most logics, coding requires simple configuration and logical order combination. Let coder focus on logic rather than complex typing.


Other such items as string check and email check are encapsulated together.

Logmanager encapsulates its own log mode and uses the factory mode to provide common file log (text/word/Excel format) and database log record formats in winform.

At present, this improvement is available in version 3.2. Basically, for access and sqlserver MIS system development, code can be highly refined.

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.