title: Disable And Change Button Image On Click in C#
body: <p>I have a button that on click I would like to be disabled and it's background image to be changed to null here is the code I have that happens on button click</p>
  
  <pre><code>    private void levelOne1001_Click(object sender, EventArgs e)
      {
          levelOne1001.Enabled = false;
          levelOne1001.BackgroundImage = null;
          scoreClass.genRandomNumber(100);
          scoreClass.valOfQuestion = 100;
          q1001 = true;
          openQuestionForm();
      }
  </code></pre>
  
  <p>And here is the code from <code>openQuestionForm();</code></p>
  
  <pre><code>    private void openQuestionForm()
      {
          QuestionForm qForm = new QuestionForm();
          scoreClass.iCount++;
          qForm.Show();
          this.Hide();
      }
  </code></pre>
  
  <p>And here is where I call this form back up</p>
  
  <pre><code>     Level1Form l1Form = new Level1Form();
       l1Form.Show();
  </code></pre>
  
  <p>How the process works is Button on Original form is clicked goes to a Question form, button on Question form is clicked it goes back to Original Form. But when I go back to the original form the button is still enabled and the image is still there. Is there any way to fix this?</p>
  
  <p>EDIT: Forgot to say this was in WinForms</p>