private void button1_Click(object sender, EventArgs e) { if (db.verify_user(username.Text, password.Text)) { accounts fm = new accounts(username.Text, password.Text); fm.Show(); this.Hide(); fm.AddOwnedForm(this); } else { label3.Visible = true; } }