Solved

couldn't call forms in C#

Posted on 2011-09-12
5
371 Views
Last Modified: 2012-05-12
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
Comment
Question by:TITO2009
  • 3
5 Comments
 
LVL 3

Accepted Solution

by:
exceter earned 500 total points
ID: 36521284
1. Try to rebuild the project
Are you sure that you included the form in project ?
0
 

Author Comment

by:TITO2009
ID: 36521482
Hi, the first thing i tried is to rebuild the program. seems no effect.
solution1.JPG
0
 

Author Comment

by:TITO2009
ID: 36521546
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
 
LVL 9

Expert Comment

by:dexterrajesh
ID: 36521558
hi, check with fully qualified name... I mean check if both the forms have the same namespace name...
0
 

Author Comment

by:TITO2009
ID: 36522194
Hi, You get the point. That's the mistake i done. Cheers
0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Article by: Ivo
C# And Nullable Types Since 2.0 C# has Nullable(T) Generic Structure. The idea behind is to allow value type objects to have null values just like reference types have. This concerns scenarios where not all data sources have values (like a databa…
We all know that functional code is the leg that any good program stands on when it comes right down to it, however, if your program lacks a good user interface your product may not have the appeal needed to keep your customers happy. This issue can…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now