One of the WinForm form applications (preliminary), winform

Source: Internet
Author: User

One of the WinForm form applications (preliminary), winform

 

To learn how to create a WinForm program, you must first master two things. The first part is called the property panel. Both forms and controls have their own property panels. The second part is what we call controls.

Let's first discuss the attribute panel. Create a WinForm program and press F4 to view the property panel.

 

 

 

 

 

 

 

 

 

 

 

 

We have to say that the various attributes are complicated. Here, I only record some common attributes and classify them.

1. form style attributes:

(1) Name refers to the Name of the form, which is usually the unique identifier. Each control has a Name as its identifier.

(2) AutoSize: the automatic size is adjusted based on the content of the form.

(3) Size

(4) Position on the screen when the StartPosition program is started. CenterScreen is displayed in the center of the screen.

(5) Icon

2. content style attributes

(1) BackgroundImage background image

(2) Arrangement of BackgroundImageLayout background images

(3) Font

(4) ForeColor foreground color/font color

(5) Text subject Text content

It should be said that there are actually many attributes. However, I believe that we do not have to master all the attributes before we can start to create a program. On the contrary, as long as we first get familiar with those attributes that are frequently used, as for other attributes, it is enough to think about them.

 

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.