title: Cannot implicitly convert type 'System.EventHandler' to 'System.Windows.RoutedEventHandler' in c#
body: <p>In windows phone application I want to add a button dynamically like below:</p>
  
  <pre><code>Button btn = new Button();
  btn.Content = tb_groupname.Text;
  btn.Width = 200;
  btn.Height = 200;
  btn.Click += new EventHandler(btn_Click);//Click event
  </code></pre>
  
  <p>But when I add click event on my button I am getting below error:</p>
  
  <pre><code>Cannot implicitly convert type 'System.EventHandler' to 'System.Windows.RoutedEventHandler'
  </code></pre>
  
  <p>And below is the click event method of button:</p>
  
  <pre><code>private void btn_Click(object sender, EventArgs e)
  {
    textbox1.text = "ABC"; // For Example
  }
  </code></pre>
  
  <p>I don't understand why its getting this error.
  Kindly suggest me, waiting for reply.
  Thanks.</p>