Create a Warcraft system related form:
Login form (frmlogin)
Registration Form (Frmregister)
Main form (frmmain)
To achieve the Warcraft login system:
The login interface is as follows
Implementation ideas:
1. Create an array of objects with a length of 10, initialize the array and assign values
2. Verify that the mailbox and password are correct in the login button, and use the values in the text box to iterate through the array to see if there are any matching values. And associating the main form
3. A LinkLabel control is used here, and the event in this button shows that the registration form hides itself
To achieve the Warcraft registration system:
The registration interface is as follows
Implementation ideas:
Create an object of the UserInfo class in the Register button, assign a value to the class's properties, bind the object to the array, find an empty location to hold the data to register
The main form is as follows:
Pass the text information of the entered mailbox to the Frmmain form, create a variable in the Frmmain form, assign the input text to the variable in the frmmain in the Frmlogin form, and display the label control in the form.
Implementation ideas:
Depth. NET Framework Project "Warcraft Login System"