Hi all, i have added the form required in my project. it is showing there in solution explorer window. But i cant access that form through coding. can anyone tell me wt is the problem

Probably you've added just the .resx file!! and didn't form code file.

if u want to add existing file means. right click the solution exp and add- existing file- choose only filename.cs enough.it wil add to sol exp. then u can create object for that form in form1 - buton click event


Make sure that your From has the same namespace as the class from where you want to cosume it.


Having different namespaces doesn't matter. Just while referencing to the form that you added, provide the full qualified path. Include the whole namespace path till your reach your desired Form Class. That should do the trick.