title: How to change the background of a button programatically?
body: <p>I need to change the BackgroundImage of a button on click of another button (In Windows Forms in C#). But I can't find out how to do it!!</p>
  
  <p>I searched on the internet and found many examples and all of them use ImageBrush, ImageSource etc.... but these don't work on my application, it shows me errors every time I Use them.</p>
  
  <p>I read on the internet that I have to add this namespace:</p>
  
  <p><code>using Windows.UI.Xaml.Media.Imaging;</code></p>
  
  <p>But it shows me an error on the begging which says to add this <code>System</code> before <code>Windwons</code> and when I add it:</p>
  
  <p><code>using System.Windows.UI.Xaml.Media.Imaging;</code></p>
  
  <p>it shows me than the error at <code>UI</code> .... I can't figure it out how to solve this!!</p>
  
  <p>Please help me guys!</p>