Depth. NET Framework Project "Warcraft Login System"

Source: Internet
Author: User

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"

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: 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.