The type or namespace name 'form2' could not be found (are you missing a using directive or an assembly reference?)
<pre><code>using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace WindowsFormsApplication3
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            Form2 myform = new Form2();
            myform.ShowDialog();
        }
    }
}
</code></pre>

<p>The following code should "launch" form2.  They are in the same project, and have the same namespace.  I don't understand.  I have tried changing the .NET framework from version 4 client to version 4.</p>

<p>Any other ideas?</p>
