asd

asd
 avatar
unknown
plain_text
4 years ago
630 B
6
Indexable
if (txtUsername.Text == "" || txtPassword.Text == "")
            {
                MessageBox.Show("Please provide UserName and Password");
                return;

            }
            else
            {
                if (txtUsername.Text == "SparleR" && txtPassword.Text == "SparleR2020")
                {
                    MessageBox.Show("Login Successful");
                    this.Hide();
                    Form1 fm = new Form1();
                    fm.Show();
                }

                else
                {
                    MessageBox.Show("Login Failed!");
                }
Editor is loading...