Winforms c# - Set all booleans to false?
<p>I have a few booleans declared in my form which are triggered by keypresses. Essentially, I want it so when an if statement is triggered, <strong>all the boolean variables in my form to be false</strong>. I have the following in an if statement;</p>

<pre><code>//Spike contact
        if (pbPlayer.Right &gt; pbSpike1.Left &amp;&amp; pbPlayer.Right &lt; pbSpike1.Right &amp;&amp; pbPlayer.Bottom &gt; pbSpike1.Top || pbPlayer.Left &lt; pbSpike1.Right &amp;&amp; pbPlayer.Left &gt; pbSpike1.Left &amp;&amp; pbPlayer.Bottom &gt; pbSpike1.Top)
        {
            timer1.Stop();
            MessageBox.Show("Gameover!");
            pbPlayer.Location = ReSpawn;
            timer1.Start();
            foreach (bool Movement in this.Controls)
            {
                Movement = false;
            }
        }
</code></pre>

<p>When I try setting movement to false it says it's not assignable because it's a foreach iteration.</p>