|
-
February 7th, 2011, 03:57 PM
#1
I can't create instances of my new form in C# winforms... any idea why?
When I use the following code...
Form1 frmTest = new Form1();
I get a new instance of Form1...
I have added a form called Form2 to the project, but when I use the following code...
Form2 frmTest1 = new Form2();
I get the following error :
The type or namespace name 'Form2' could not be found (are you missing a using directive or an assembly reference?)
its definitely called Form2, and I have even tried this with other forms, like Form3 etc, but all I can do is Form1... any help?
Thanks in advance.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|