Multiple forms, form pass values, open unique form actions

Source: Internet
Author: User

First, open the Multi-child window

Instantiate the form you want to open in the control, and then adjust the method show

Example: Open the F2 form in a button

Form2 f2=new Form2 ()

F2.show ()

Second, the value of the constructor function

1, add parameters in the instantiation, display the information type, open the form type

2. To open the form in the constructor accept

Third, open the window only

1. Instantiate to open the window and place it in the type collection

2, determine whether the window is in the collection, not open

3. constructor-Passed parent window

4. Child window close Si Cho Delete collection sub-level window method

Cases:

Multiple forms, form pass values, open unique form actions

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.