title: Refresh an open form from another open form
body: <p>I want to refresh an already opened form (<em>form1</em>) from another opened form's (<em>form2</em>) button_click(). In <em>form1</em> I display the data saved by <em>form2</em> and when <em>form1</em> is already opened I want it to refresh if new data is saved on <em>form2</em> in order to display it.</p>
  
  <p>The problem is that I've tried iterating through `Application.Openforms`, but it turns out that it is read-only and I cannot access the form once found and I don't know how to access *form1* from *form2*, since I can't simply find it.</p>
  
  <p>How can I access *form1* from *form2*? </p>
  
  <p>Edit:</p>
  
  <p>Form1 is actually opened from Form2.</p>
  
  <p><p>The problem with Application.Openforms is that , as I've stated, a read-only list of forms already opened and I cant actually access the forms through it. They simply don't have the methods for it, I sugest you try using Application.OpenForms and look it up if you don't know how it works. 
  Also it's pointless to show what I've already tried because it includes <code>Application.OpenForms</code>, but for the sake of information:</P></p>
  
  <pre><code>FormCollection of = Application.OpenForms;
                  foreach (var f in of)
                  {
                      if (f.GetType().ToString() == "Kontrl_Doc.Visualizar")
                      {
                          f.Refresh();
                      }
                  }
  </code></pre>
  
  <p>When I click the button (button_click()) in Form2 it checks if Form1 is open or not. If Form1 isn't open it opens one and if it is than I'd like it to refresh it. Simultaneously, it closes Form2 and opens Form2 again, in order to reset is fields.</p>
  
  <p><p> What I wan to do is, if the form1 is already opened , it form2 should tell it to refresh the already opened window with the form 1.</p>