Based on. NET platform of Windows programming Combat (iii) project creation and the design of the main interface

Source: Internet
Author: User

This article supporting source code

Through the previous two courses of study, I believe that the whole case system has been a general understanding of the following, let us follow the following steps to build the entire system!

First step: Create a new Windows project

Open VS2005, click "File"--> "new"--> "project", in the pop-up dialog box, select "Windows" on the left, select "Windows Application" on the right, and enter "Questionnairesystem" in the name below. , after selecting the appropriate save location, click OK, as shown in Figure 3-1 below:

Figure 3-1

So a new Windows project is created.

Another: For the operation of the entire system needs, we create two new folders for the project: one is database[to hold the database file, and the other is used by the images[to hold the image resource that the user wants to use, which is created by right-clicking the project name and selecting "Add" à "Create a new folder"; We need to use the project database files and picture resources copy to the inside. Specific download the following course source for viewing.

Step two: Set main form Properties

For the sake of distinction, We rename the Form1.cs in the new project to MainForm.cs, and because our system is an MDI multiple form system, we should set its IsMdiContainer property to true; To make the form more beautiful or nice, let's set the following properties for the main form: Windowst The Ate property is set to maximized[to maximize display when it is turned on (924, 542) [Form Size],text property is set to "Survey Management system" [System title], you can also click the ellipsis button to the right of the Icon property to set an icon for the form.

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.