Problem adding a self designed control

  • Thread starter Thread starter m.f.shrz
  • Start date Start date
M

m.f.shrz

Hi all
I've designed a control (which opens and shows pdf documents) with
C#.I added it to VisualStudio Toolbox,but when I drag and drop it to a
new form , nothing happens.By 'nothing' I mean completely nothing,even
no error message,
It is VisaulStudio2005.
What's wrong?Can anyone help me?
Thanx in advance
 
Hi all
I've designed a control (which opens and shows pdf documents) with
C#.I added it to VisualStudio Toolbox,but when I drag and drop it to a
new form , nothing happens.By 'nothing' I mean completely nothing,even
no error message,
It is VisaulStudio2005.
What's wrong?Can anyone help me?

Not likely. Your question is far too vague to be likely to be answered
in a forum like this newsgroup.

If you want an answer here, you need to create a concise-but-complete
example of code that reliably demonstrates the problem.

In this case, that would be a custom control class that you've created
and which behaves the same as the one you're having trouble with when
it's dragged to a form.

Note that this doesn't mean you need to, or even should, post all of
the code for the control you have now. The example should be the bare
minimum required to reproduce the problem, and that's unlikely to
include any of the PDF-specific code, for example.

When posting sample code, keep in mind: if the code is incomplete, no
one will actually be able to reproduce your problem; if the code is not
concise, no one will have the time or interest in sifting through all
of the irrelevant stuff to try to figure out what's actually going on.
In either case, you won't get your question answered.

Pete
 
Hi Pete
I sent the answer before,but now I see it's not here.However
Thank you for your answer.
You're right , it's too vague.But I know posting the code will not
help too.It's just a usual control and we've done these things
before.It works on one machine and doesn't on another.The problem
isn't the code but some settings maybe.I just hoped if someone has had
such a problem before and can give me some clues.
Thank you
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top