C # WinForm development framework

Source: Internet
Author: User

I always wanted to have a small programming framework of my own. The previous method was to compile every form file into a DLL file and create a class when creating a form, then in this class
Create a new form, compile a DLL file, read the information in the DLL file through a function, including the form name and version, and finally Show the form, weifenLuo is used for Show. winFormsUI. docking. It seems that there is no problem, but every time a New form is created, a corresponding class is required. How many hundred forms are there? The project will be amazing, so I gave up this practice. After some time of conception, the general framework structure came out. I compared the two projects with identical functions, compared with my current method, the former is 6 times larger than the latter.
First, I need to use DockContent to dock the form, and then I need to use the XtraForm style (IrisSkin2.dll is really not easy to use, the style is monotonous, after the style is applied, even the properties of the control cannot be set. As we all know, it cannot be inherited. Therefore, you can write a class FrmBase directly,

 

 

Related Article

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.