title: Custom UserControl Won't show when fired by event in another project 'ClassLibrary'
body: <p>I have two projects, one of them is my mainApplication and another is a classLibrary, where communicates with Hardware.</p>
  
  <p>In the classLibrary I have an event, which is fired when x hardware is disconnected, on my mainApplication, I add that event to custom function, where 
  my custom control located on my mainApplication won't show up, but when call something like MessageBox, it shows ... Probably if I add that mainApplication to references on classLibrary it will work, but I don't want to do that.</p>
  
  <p>Follow sample code</p>
  
  <p>Class Library sat</p>
  
  <pre><code>public event ConnectedSATChanged connectionChanged;
  </code></pre>
  
  <p>MainApp</p>
  
  <pre><code>sat.connectionChanged += new 
  SAT.SATInternalFunctions.ConnectedSATChanged(Sat_connectionChanged);    
  
  private void Sat_connectionChanged()
  {
   MessageDialog.Show("WARNING"); // Wont show Or any other custom control 
   MessageBox.Show("Warning"); // Will Show ...
  }    
  </code></pre>
  
  <p><strong>UPDATE</strong></p>
  
  <p>The follow code made it </p>
  
  <pre><code>  var thread = new Thread(() =&gt;
      {
        MessageDialog.Show("Warning!");
      });
      thread.SetApartmentState(ApartmentState.STA);
      thread.Start();
  </code></pre>