privatevoidLogin_Click() { // Login button click event handler bool response = Api.Login(username.Text, password.Text); // Edit message value on program settings to change the successful message box value!
if (response){newForm2().Show();this.Hide(); }}