Detailed description of Windows Forms Application layout and forms Layout

Source: Internet
Author: User

Detailed description of Windows Forms Application layout and forms Layout

The last time we used a basic control to create a Windows form application, we learned about some advanced controls and used ADO. NET technology to connect to the database to create a more powerful form application!

Menu Bar control MenuStrip

. NET provides a MenuStrip (menu bar control ), ImageScalingSize Size of the image displayed for items in the toolbar Items Set of items displayed on the toolbar

In the Items attribute editing window, you can add or delete Items, adjust the order of Items, and set attribute values for each item.

Main attributes and events of buttons and labels on the toolbar
Genus Description
DisplayStyle Set the display mode of images and text
Image Images displayed on buttons/labels
ImageScaling Whether to adjust the size of the image displayed on the button/Tag
Text Text displayed on buttons/labels
TextImageRelation Button/label image relative to text
Event Description
Click This event is triggered when you click a button or tag.
RadioButtion)

Genus Description Checked Only whether the single-choice button is selected Text Text displayed by the radio button Event Description Click An error occurred while clicking the single-choice button.

Difference between GroupBox and Panel

GroupBox Panel A group of controls used for logic combination to display a framework with a title on the Framework These controls are used to contain multiple controls so that they can be grouped into a group for easy operation. DateTimePicker)

Genus Description MaxDate Set the maximum date and time. MinDate Get the set minimum Date and Time Value Date/time value selected by the Control Format Used to set the format of the date and time displayed in the control

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.