Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Designer lost component initialization code
Message
De
10/08/2012 07:21:07
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Designer lost component initialization code
Versions des environnements
Environment:
VB.NET 1.1
OS:
Windows Server 2008
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Desktop
Divers
Thread ID:
01550265
Message ID:
01550265
Vues:
65
Hi,
I have a usercontrols,
There are cascade of inheritance of usercontrols UserBase -> UserCtrl1 -> UserCtrl2..

But the problem is
the Designer File for UserCtrl1 - lost the code

Me.components = New System.ComponentModel.Container()

!! Even if I drop components on it ... and when so, Dispose sub ignore to dispose components !! and memory leak happen!
But,
Sometimes - this line generates in different libraries, and sometime - its again lost when next time I open library.
I can't find the logic - why this line could not be generated in designer file

Any ideas,
Thanks
Denis
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform