View Single Post
Old Jul 2nd, 2005, 12:52 PM   #16
nez
Programmer
 
nez's Avatar
 
Join Date: May 2005
Location: Plymouth UK
Posts: 34
Rep Power: 0 nez is on a distinguished road
Send a message via MSN to nez
I've been trying to do the same thing in Visual c# 2005 express edition (bete), using:

private void button1_Click(object sender, System.EventArgs e)
{
    Form2 frm = new Form2();
    frm.Show();
}

which is that i found on MSDN and is also suggested by someone here (ctor i think), but i get this error code when i compile it:

Quote:
The type or namespace name 'Form2' could not be found (are you missing a using directive or an assembly reference?)
i have created both forms already, any ideas?

Cheers
Nez
__________________
atariboy.wordpress.com
nez is offline   Reply With Quote