title: Form.ShowDialog() does not show form
body: <p>I've come across a situation where I try to run a simple line of code in a method</p>
  
  <p>Dim res As DialogResult = frmOptions.ShowDialog()</p>
  
  <p>but nothing happens. The dialog box will not appear. If I run this method from another location in the code it executes fine (i.e. displays the form in dialog mode and code executes fine thereafter). Hence, it may be the way in which I arrive at this code that is causing my problem, but I cannot see to find what is wrong.</p>
  
  <p>When I pause the debugger the line of code is highlighted in green but I can't see to step over it or into it.</p>
  
  <p>Any idea what may cause this to happen, or what I should be looking for that might be causing the problem??</p>
  
  <p>Thanks for the help!</p>