Application.Run () and Form.show () and Form.ShowDialog ()

Source: Internet
Author: User

ShowDialog () Popup modal form

Show () Popup non-modal form

Mode form, you cannot switch to the main form until you close or hide it.

Non-modal form, transformation focus eliminates the need to close the form

Summary: Display important information, or use a modal form, such as deleting a file, to make sure that the user is really trying to delete the file

Non-modal, the order of form access is not known, it is more suitable to display some relevant information of the program.

with show, it could be a flash.

Application.Run () and Form.show () and Form.ShowDialog ()

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.