title: WPF cannot implicitly convert system.drawing.bitmap to media.brush
body: <p>I want to change the background of a button manually in my WPF app.</p>
  
  <p>I have an image imported into my resources and I want to do:</p>
  
  <pre><code>MyButton.Background = MyProject.Properties.Resources.myImage;
  </code></pre>
  
  <p>But I get the error:</p>
  
  <blockquote>
    <p>cannot implicitly convert system.drawing.bitmap to media.brush</p>
  </blockquote>
  
  <p>How can I do this??</p>