Why am I getting this error and How can I correct it?
<pre><code>form2 newF2;

newF2 myform = new NewF2();
myform.ShowDialog();
</code></pre>

<p>I have the above code.  I have a button in form1 that launches form2.  </p>

<p>I get the following error message "The type or namespace name could not be found (are you missing a using directive or an assembly reference?)</p>

<p>I have been trying to figure this out for about 2 hours and I have no clue why I am getting this error.  Both forms have the same namespace.  Any ideas?</p>

<p>Using the below code I also get the same error:</p>

<pre><code>form2 myform = new form2();
myform.ShowDialog();
</code></pre>
