WindowsForm interface Run Order Form properties

Source: Internet
Author: User


WindowsForm interface Run Order Form properties


What is a class: Class 1 is the basic unit of object-oriented programming. The class contains two member fields (field) and Method methods
2 field is a variable method that is a function
What is a field: A field represents the data in a class, and a field is defined when a variable is defined outside all the methods of the class. Before the variable, you can add public private and protected to represent the access to the field.
What is a property: A property consists of two special accessors (get) and write accessors (set).


Form events: The function that is interpreted as a delegate variable, which function is pointed to.
Form: The process of displaying a form is a process of making objects from a template.
Go first the constructor, the InitializeComponent () method in the constructor, is used to initialize the interface

Form load events, which are triggered before the form is displayed
private void Form1_Load (object sender, EventArgs e)
{

}

Common Properties for Form forms:
StartPosition: The starting position of the form display
Manual: Manual settings, set to this after the display according to the location of the coordinates settings
Centerscreen: Center Screen
Centerparent: Parent form Centered
WindowsDefaultLocation: Default starting point
MaximumSize: The maximum size that the form can display, once set, the form can only be set to the maximum size
MinimumSize: How small can the form be?
Size: size of the form

Form style:
ControlBox: Whether a menu item, such as a form's Close button, is displayed
Icon: Set the form icon file
Showicon: Whether the icon is displayed
Maxmizebox: Maximizing Availability
Minmizebox: Minimized if available
Opacity: Setting form transparency
IsMdiContainer: Sets whether the form is a parent container for other forms
Topmost:

Behavior:
ContextMenuStrip: Used to specify which right-click menu to display
Enabled: Whether the settings are available

WindowsForm interface Run Order Form properties

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.