title: How to Redraw or Refresh a screen
body: <p>I am working on a wpf application. Here I need to use System.Windows.Forms.FolderBrowserDialog in my Wpf application.</p>
  <pre><code>        System.Windows.Forms.FolderBrowserDialog openFolderBrowser = new System.Windows.Forms.FolderBrowserDialog();
  
          openFolderBrowser.Description = &quot;Select Resource Path:&quot;;
          openFolderBrowser.RootFolder = Environment.SpecialFolder.MyComputer;
          if (openFolderBrowser.ShowDialog() == System.Windows.Forms.DialogResult.OK)
          {
              //some logic
              openFolderBrowser.Dispose();
          }
  </code></pre>
  <p>I launch a FolderBrowserDialog, select a Folder and click OK, and then I launch another System.Windows.Forms.FolderBrowserDialog, My problem is when I select a Folder and click OK in this FolderBrowserDialog, the shadow of FolderBrowserDialog remains on the screen(means my screen doesn't refresh). I need to minimize or resize it in order to remove the shadow of FolderBrowserDialog. How can I solve this issue?
  Any help plz?</p>
  <h3>Edit:</h3>
  <p>I found the solution. I called OnRender method on my wpf Window and it worked for me. It redraws everythign on the screen.</p>