WinForm Student Information Management system Landing Form Design (1) _c# tutorial

Source: Internet
Author: User

The knowledge of this piece of learning has long been expected, feel the progress of learning is still slow, recently has been learning WinForm, have to say some landing form design, these days is a small harvest, I also read a lot of this knowledge, know to want to do student information management system is a long process, But from today onwards to slowly carry out the construction of Student information management system, in addition to the knowledge of the database, planning to start their own knowledge of the database, today to see the Student Information Management System Login window design. The following picture is the sample:

This knowledge is based on the C # language and the. NET Framework platform. The use of their own or familiar development environment VS2012, feel VS2013 and the recent VS2015 no big changes, decided to use VS2012 to build Student information Management System Login window.

First of all, create a Windows Forms application under VS2012, starting with the name WindowsForms, the login window you want to create is designed on this basis, the process is no longer described in detail.

The second is to make the name of the login window changes, click the form design, in the property of a column to find text (set form name) property to change the name to the Student information management system, click the form design again is the name modified successfully.

Then you make changes to some of the properties of the form: 1 The default property MaximizeBox (Maximizing the window) and Minimizbox (minimized window) is true, depending on the circumstances, and will not be modified here. 2 When you run the program by default, the form's property startpositio (the start position) is windowsdefaultlocation (random position) and changed to Centerscreen (the central location of the screen). 3 Property Showicon (whether the icon is displayed in the form title bar) is true and property showintaskbas (whether the form is displayed on the Windows taskbar) is true by default. 4 By default, the property FormBorderStyle (Window mode) is sizable (the Double line window size can be changed), changing this to FixedSingle (one-lane cannot change size). Other attributes, depending on the situation, you need to modify the time can be changed, the Student Information Management System Landing window is relatively simple so do not do too much form design.

Moreover is the landing window background, this is also in the attribute to set up, to find the attribute backgroundimage (background picture), click this attribute, will appear to select the Resource dialog box, the picture of their own add, to the background of their own pictures to import into the box can be, Finally click OK to complete the import background picture.

And then just want to add controls on the form design, where the simple landing window needs to use three controls, the first use is lable, it is the function of the control to provide the necessary textual description or interpretation, Add two lable controls to the form: the first control's property text changes to the login name:, the second control's property text changes to the login password:. The second use is the TextBox, which is to allow users to enter text, and provide a masking function of the password. Add two TextBox controls to the form, the information entered for the first control for the login name, the text entered by the second control for the login password, and the Mask function property for the password, click the control to find his properties PasswordChar change it to *. The third used control is the button, which adds two button controls to the form, and the first control's property text is changed to determine that the second control's property text is canceled. The process of adding controls to a form is almost complete.

The final step is to compare the design of the landing window you want to design to debug until the normal execution. Start execution debugging, this completes the Student Information Management System Login window design.

The above steps are the Student Information Management System Login window simple design steps, mainly in the form of text narration, I hope we do not feel boring oh. Then there are more articles to share, I hope you do not miss.

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.