title: How do I make a switch button?
body: <pre><code>private void button13_Click(object sender, EventArgs e)
  {
     button13.ForeColor = Color.Red;
     debugMode = true;
  }
  </code></pre>
  
  <p>I want following set once I click the button:</p>
  
  <pre><code>button13.ForeColor = Color.Red;
  debugMode = true;
  </code></pre>
  
  <p>And next time I will click the button so the button will be back to <code>Color.Black</code> and <code>debugMode</code> will be <code>false</code>.</p>
  
  <p>And if its on the other switch, if the button <code>Color.Black</code> and <code>debugMode</code> is <code>false</code> and I click the button the values change <code>Color.Red</code> and <code>debugMode</code> is <code>true</code>.</p>
  
  <p>I already have a bool variable for using</p>
  
  <p><code>debugButtonSwitch</code></p>