Categories > Coding > C# >

Login screen.

Posts: 29

Threads: 8

Joined: Mar, 2018

Reputation: 0

Posted

make a new form, name it main.

the other one login,

on the login form, add 2 textbox's and one button

name the button login

type in this code in the button:

if (textBox1.Text == "test") && (textBox2.Text == "test")
{
     this.Hide();
     main.Show();
}

enjoy (sorry for the grammar fails i was very tired typing this while i was teaching a noob some lua)
  • 0

Posts: 13

Threads: 3

Joined: May, 2018

Reputation: 0

Replied

HELLO!MING ADDING [REQUESTED] TO THE TITLE?
  • 0

Posts: 371

Threads: 61

Joined: Apr, 2018

Reputation: 0

Replied

Vouch good lesson for people.
  • 0

Posts: 29

Threads: 5

Joined: Mar, 2018

Reputation: 0

Replied

like i said i already made a fucking post on dis..
  • 0

Users viewing this thread:

( Members: 0, Guests: 1, Total: 1 )