Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with MM TabControl
Message
De
13/11/2007 10:56:15
 
 
À
12/11/2007 22:57:44
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
01268559
Message ID:
01268652
Vues:
11
Now it's really getting icky.

When I use this:
Dim WithEvents TabControl As New TabControl()

I get this message:
Warning 1
variable 'TabControl' conflicts with variable 'TabControl' in the base class 'mmMaintenanceForm' and should be declared 'Shadows'

Then I use this:
Shadows WithEvents TabControl As New TabControl()

I get this message when the form starts:
Unable to cast object of type 'System.Windows.Forms.TabControl' to type 'System.ComponentModel.ISupportInitialize'.

Since I'm using the MM Tab Control, I can't tell what I should be doing where.

Any suggestions on this?

Thanks.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform