Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / January 2007

Tip: Looking for answers? Try searching our database.

Designer ctor not working

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Mario Vázquez - 18 Jan 2007 16:48 GMT
Hi all,

I'm implementing a designer for a usercontrol and it seems that it's not
attached if I use the construtor Designer(type, type) of the attribute. I
must use the overloaded ctor Designer(type) in order to make the things
work.
I don't know if this can be the cause (not being able to tell VS the base
class for the designer) but when I rebuild, the components of the assembly
in which I'm working dissapear from the Form. Closing and reopening the form
solve this, but I keep troubled.
Any ideas?

Thanks for attention,
Mario Vazquez
Oliver Sturm - 27 Jan 2007 16:18 GMT
Hello Mario,

>I'm implementing a designer for a usercontrol and it seems that it's not
>attached if I use the construtor Designer(type, type) of the attribute. I
[quoted text clipped - 5 lines]
>form solve this, but I keep troubled.
>Any ideas?

Are you sure you're using the "correct" combination of designer type and
designer base class type? I think it's possible that VS is basically not
instantiating your designer because you are passing in two types that
don't fit the contract of that particular ctor overload. If you want,
please post some more information about the types you are trying to use in
the ctor call.

               Oliver Sturm
Signature

http://www.sturmnet.org/blog


Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.