Based on. NET platform of Windows programming in real Combat (v.) Realization of questionnaire management function

Source: Internet
Author: User

This article supporting source code

Hello everyone! Today we are going to start with the fifth lesson of this series of courses, which will lead us to work together to achieve the functions of questionnaire, questionnaire, questionnaire and questionnaire management.

First of all, in order to make our interface more convenient to operate and layout, we introduce the third source control dockpanel[of course can not introduce the control and direct development, you can from here: DockPanel control download its compiled DLL file, can also from here: http:// Sourceforge.net/projects/dockpanelsuite for download. About the DockPanel control of the relevant information you can go to http://sourceforge.net/projects/dockpanelsuite or the Internet to find relevant information to understand, the project system is only used for the interface layout of the operation, As for other aspects of the function is not discussed, interested friends can go to http://sourceforge.net/projects/dockpanelsuite download their source code to carry out research.

Ok! After downloading the DockPanel control, We copy it (that is, the WeifenLuo.WinFormsUI.Docking.dll file) to the Bin folder in the Questionnairesystem project we created earlier and add it to the project's references by right-clicking the project name or right-clicking Refer to "-à" to add References ... ", select the Browse tab in the pop-up dialog box, and find the WeifenLuo.WinFormsUI.Docking.dll file that you just copy to the project, click OK, as shown in Figure 5-1 below:

Figure 5-1

Once the DockPanel is introduced, we can put it in the toolbox and use it like any other control, and we'll add it to the Toolbox: Right-click the blank space under the left toolbox to-à "Select items"-à Click "Browse" in the pop-up dialog box. and find the copy to the project WeifenLuo.WinFormsUI.Docking.dll and open, after the following figure 5-2, and then click "OK", you can find the left of the toolbox below a DockPanel control, which means that the addition of a successful

Figure 5-2

Open the main window mainfrom that we created before, and pull the DockPanel control that you just added to the toolbox into the margins of its interface, set its Name property to DockPanel, and click Dock in parent container, as shown in Figure 5-3 below, to dock to the parent container.

Figure 5-3

Related Article

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.