Form description and problems with multiple forms

Source: Internet
Author: User
Form Description: A form is also an object, a form class defines a template that generates a form, and each instantiation of a form class produces a form. The form class defined in the System.Windows.Forms namespace of the NET Framework class library is the base class for all form classes. A complete Windows Forms application is mostly composed of multiple forms, and if you want to add multiple forms to a Windows Forms application, you are bound to have a startup form issue. The startup form of the project is set in the Program.cs file, and the parameters of the Run method are changed in the Program.cs file to set the startup form. For example, to set the Form1 form as the startup form for your project, you can do so by using the following code: Application.Run (new Form1 ());

Form description and problems with multiple forms

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.