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 / Windows Forms / Design Time / August 2004

Tip: Looking for answers? Try searching our database.

My controls keep dissapearing!

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Simon - 27 Jul 2004 16:49 GMT
I have a c# solution containing the following projects -

a windows form control library containing some custom windows form controls
a windows form app with forms containing these controls (with a local
solution reference to the controls proj)

Randomly(?) the designer will just wipe these controls off the form (it will
even try and check the form out to do the damage! - if it already is then
its usually goodbye to a few hours work :o/ ). Sometimes building the
controls project again will magically bring them back but more often than
not its a lengthy solution restart... What causes this behaviour and how can
it be prevented?

Frustrated,

Simon
Jim-M - 09 Aug 2004 22:27 GMT
Sorry I can't be more specific, but I saw this problem when developing
WinControls.  Periodically if one of my custom controls threw an
exception in a constructor, the control would disappear (except for the
declaration in the generated components section).

My suggestion would be to take a look at your controls and put some
debugging messages in the constructors and at other key places.  I
ultimately tracked it down to a property that wasn't being initialized
correctly within a control constructor.

Happy hunting!

> I have a c# solution containing the following projects -
>
[quoted text clipped - 12 lines]
>
> Simon

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.