Ejemplo n.º 1
0
 public Login(string username, string password)
 {
     if (InitialLoginVerification.ValidCredentials(username, password) == true)
     {
         File.WriteAllText(@"CurrentLogIn.txt", username + ':' + password + ':' + "Logged_in");
         launchMainpage();
     }
 }
Ejemplo n.º 2
0
        private void login_button_Click(object sender, EventArgs e)
        {
            if (InitialLoginVerification.ValidCredentials(Username_entry.Text, Password_entry.Text) == true)
            {
                File.WriteAllText(@"CurrentLogIn.txt", Username_entry.Text + ':' + Password_entry.Text + ':' + "Logged_in");

                launchMainpage();
            }
        }