basic framework (two layers development)
Create a Windows desktop application-' Student management system '
Add entity Class Library models
Right-add-new project-Class library
Add Data Access Class Dal
Basic Framework Directory:
To habitually modify the name of the main form, generally with frmmain
or follow the name given by the customer
Adding references
The data access layer needs to refer to the entity class, and the Windowform main program needs to refer to the data Access class and entity class.
1, data access Class DAL reference entity class models
2. The main program needs to refer to the Dal and models class
Basic two-layer windowsform procedures, the framework of the prototype completed. main Form Design
1. Title (Student management System)
2 starting position (centered)
3. Form icon (. io icon)
4. Form size 1280*760 Video size
5. Redesign according to your own needs.
the design of the login form
Login Form design idea with picture and account password
1. Form title, picture, prohibit maximization, start position.
2. Control, picture, text label, text box, Button button icon.
3. Optimized design, picture mode, text box line, password cover, form mode 、........
To set the main program file as a startup item:
1. Form title, picture, prohibit maximization, start position.
2. Control, picture, text label, text box, Button button icon.
A landing window is basically complete, but it needs to be optimized
Basic prototype:
3. Optimized design, picture mode, text box line, password cover, form mode, shortcut key setting ...
These points need to optimize password cover, form size (single mode) lock, button icon, picture Fill,
tab shortcuts in order to adjust picture size mode Auto Fill
form cannot be dragged size:
Password cover:
tab Order
Press the TAB key to jump to username, password, login, exit
To jump in the order in which you press the TEB key:
text border lines, aligned to text labels:
Check labels and text boxes
button to insert an icon and align to the left
A common landing form is completed
You can also extend the settings according to your needs