Cant display forms 2..3..4..
I Got a problem..
i got a program that needs 3 or even 4 forms ..but the problem is i cannot display higher then form2
enve if i try in form1
Form3 NewForm3 = New Form3();
NewForm3.Show();
or any other ..even the aboutbox...nothing..but if i try do that in the 2nd form..i can display form3 from from there..but not from form1...how come?and how i fix this..
ShadowRayz

this prob happens only on the project im working on..
if i make new 1 everything is ok i can easlu display any form i want
on my project..like wen i start type Form and that window open...but theres no form3
but i do have form3 and form 4
i dunno..its really weird..
ok, I see - its a compiler error - most likely it means that you did not specify the exact name of the class - the compiler is case sensitive so:
form2
is a different meaning to
Form2
give it a try....see what happens :-) Make sure that the class names you are going to be instantiating are in the exact same wording/formatting
well it was hard seeing how you declared it in the original screenshot but the compiler said that "form3" does not exist but if you did "Form3" then it would work.
So if you go back to say...Form2 as in your original screen shot and typed in:
Form3 theOtherForm = new Form3();
then it should compile and run...is this not the case? Can you also post some code where the compiler is throwing errors at?