private void buttonX1_Click(object sender, EventArgs e) { if (username_f.Text.Trim().Equals(null) && password_f.Text.Trim().Equals(null)) { } else { home MD = new home(); MD.Show(); this.Hide(); } }