Windows Forms programming you can do it.

Source: Internet
Author: User

Windows forms programming you can do it. 1. recognize the project file for the form

2.MDI form Application

MDI is an Excel spreadsheet user who sometimes needs to manipulate multiple forms to provide great convenience, resulting in an MDI program.

3. How to get application path information

4. Enter jump control focus

5. transferring complex data between forms① Construction Pass:

Create two forms of Form1 and Form2;

overload Constructors in Form2:

call Form2 in Form1 :

② public field delivery

Create two forms of Form1 and Form2;

define the pubilc field in Form1:

Form2 adds a common attribute and constructor:

call Form2 in Form1 :

③ delegate and event delivery

6. No caption form drag

7. WinForm FAQ① Set the start position of the form when it is run

② implementing form fade effects

③ Execution of external programs

Windows Forms programming you can do it.

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.