C# with WPF Call UserControl form from Window Form
<p>Actually, I'm using C# with WPF. Let me explain again:</p>

<ol>
<li><p>I have create UserControl (WPF) with one Button (Click on Button to create Image and textBox (Like New Folder)).</p></li>
<li><p>And I have another Window form (WPF) with Button and I want to Click on Button in Window Form to do Action instead of Button in UserControl. Here is the code of UserControl: </p></li>
</ol>

<pre class="lang-cpp prettyprint-override"><code>private void btnNewRoom_Click(object sender, RoutedEventArgs e)
    {


        Image img = new Image();
        img.VerticalAlignment = System.Windows.VerticalAlignment.Top;
        img.Width = 100;
        img.Height = 100;


        var assemblyLocation = Assembly.GetExecutingAssembly().Location;
        var applicationDirectory = System.IO.Path.GetDirectoryName(assemblyLocation);
        img.Source = new BitmapImage(new Uri("/Resources/Images/folder.png", UriKind.RelativeOrAbsolute));

        StackPanel sp = new StackPanel();
        TextBox tb = new TextBox();
        tb.Width = 120;
        tb.Height = 25;
        tb.Text = "New Folder";            

        sp.Children.Add(img);
        sp.Children.Add(tb);


        AddNewRoom.Children.Add(sp);
    }
</code></pre>

<p>and It is possible ?</p>

<p>Note: Any good way to Click button to Create Image and TextBox?</p>
