Re: Lose Design-Time Support for UserControl...
- From: "Fabien" <fab_00_2002@xxxxxxx>
- Date: 29 Jul 2006 02:01:37 -0700
Hi,
If you insert your code in a function or in the constructor of the
class and not in the automatically genarated code, you mustn't have
this kind of problem. Or try to declare cameraCaptureDialog as a local
object in a function.
BR
Fabien Decret
Windows Embedded Consultant
ADENEO (ADESET)
http://www.adeneo.adetelgroup.com/
Rob V a écrit :
Am developing mobile app, using a number of UserControls (UC) dynamically
rendered inside a single winform. When I add code to the UC to instantiate a
cameraCaptureDialog object, I loose design-time support for the UserControl,
inside the winform. Instead, the UserControl just renders it name in text,
inside the winForm. Interestingly, when I remove the CameraCaptureDialog
object from the UserControl codebehind, the UserControl once agains renders
itself inside the winform at design time. Any suggestions would be
appreciated.
.
- Prev by Date: CImageList Problem
- Next by Date: Converting An exe to a DLL
- Previous by thread: CImageList Problem
- Next by thread: Converting An exe to a DLL
- Index(es):
Relevant Pages
|