• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 384
  • Last Modified:

couldn't call forms in C#

hi, I working on existing project in C#. I did insert a new form as "CrystalView". When i try to call this form from another form the name doesn't appear in drop down column. What i meant is does appear as class.XXX.CrystalView

CrystalView CR = new CrystalView();
CR.ShowDialog();

0
Rama Tito
Asked:
Rama Tito
  • 3
1 Solution
 
exceterCommented:
1. Try to rebuild the project
Are you sure that you included the form in project ?
0
 
Rama TitoProgrammerAuthor Commented:
Hi, the first thing i tried is to rebuild the program. seems no effect.
solution1.JPG
0
 
Rama TitoProgrammerAuthor Commented:
Hi, I did manage to solve the issue. I don't know how the namespace are differents while i insert the crystalview forms. After change the namespace accordingly, i did manage to solve the issue. Thanks for your advice as well
0
 
dexterrajeshCommented:
hi, check with fully qualified name... I mean check if both the forms have the same namespace name...
0
 
Rama TitoProgrammerAuthor Commented:
Hi, You get the point. That's the mistake i done. Cheers
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Certified Penetration Testing

This CPTE Certified Penetration Testing Engineer course covers everything you need to know about becoming a Certified Penetration Testing Engineer. Career Path: Professional roles include Ethical Hackers, Security Consultants, System Administrators, and Chief Security Officers.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now