title: change frame source from other windows in wpf
body: <p>I have 2 window in wpf application. There is a frame in window1. I want to change frame source from window2. can you help me?</p>
  <p>for example:
  window 1:</p>
  <pre><code>&lt;frame x:name=&quot;frame1&quot;/&gt;
  </code></pre>
  <p>window2.cs :</p>
  <pre><code>private void button1_click(object sender, RoutedEventArgs e){
  window1.frame1.source = new Uri(&quot;page1.xaml&quot;,UriKind.Relative);
  }
  </code></pre>