Solved

couldn't call forms in C#

Posted on 2011-09-12
5
373 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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This article series is supposed to shed some light on the use of IDisposable and objects that inherit from it. In essence, a more apt title for this article would be: using (IDisposable) {}. I’m just not sure how many people would ge…
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

831 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