title: Change panels color on button click
body: <p>How to change panels color on button_click event? Below is code snippet, I want to change color of <code>panel1</code> when I click on Clear button.</p>
  
  <pre><code>private void buttClear_Click(object sender, EventArgs e)
  {       
       txtPntX.Text = "";
       txtPntY.Text = "";
  
       txtSrtPtX.Text = "";
       txtSrtPtY.Text = "";
       txtEndPtX.Text = "";
       txtEndPtY.Text = "";
  }
  </code></pre>