1つの「If」に2つの「textboxes.Text」を含む1つのコマンドを使用したいと思います。つまり、このコマンドを実行したとき:
If (textBox1.Text == ("admin")) + (textBox2.Text == ("admin))またはこれ  If (textBox1.Text == ("admin) , textBox2.Text == admin))  は正しくありません。
メインコードは次のとおりです。
  private void Label_Click(object sender, EventArgs e)
     {
         if (textBox2.Text == ("admin")) + (textBox1.Text == ("admin"))
         {
             Label.Text = "right";
         }
         else
         {
             Label.Text = "wrong";
             errorProvider1.SetError(errorprovider, "Wrong Username or Password");
         }
つまり、私がやりたかったのは、2つのテキストボックスのいずれかが間違っている場合、ラベルにパスワードまたはユーザー名が間違っていることが示されるということです...何かアイデアはありますか?