Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Toolbox item not available.
Message
De
26/09/2007 16:06:24
 
 
À
26/09/2007 15:20:10
Information générale
Forum:
ASP.NET
Catégorie:
Formulaires
Versions des environnements
Environment:
C# 2.0
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
MS SQL Server
Divers
Thread ID:
01257013
Message ID:
01257017
Vues:
14
Another brain dead stunt... arrg... not declared public!

>I have a set of custom controls in a project.
>
>When I go to my main app and try and add controls to a form some of the controls are available, some are not. If I go show all, all the controls are listed but are grayed out.
>
>Some of the controls that are grayed out are based on the same base class as ones that are showing. This is grayed out for adding to a form:
>
>
>using System;
>using System.Collections.Generic;
>using System.Text;
>using System.Windows.Forms;
>
>namespace CDS3.Controls
>  {
>  class cdsAutoCompleteTextBox : TextBox
>    {
>    public cdsAutoCompleteTextBox()
>      {
>      InitializeComponent();
>      }
>    private void InitializeComponent()
>      {
>      this.SuspendLayout();
>      this.ResumeLayout(false);
>      }
>    }
>  }
>
>
>The ones that are grayed out in the main project are not grayed out within the controls library.
>
>I have:
>
>Recompiled everything in both debug and release.
>Deleted and reinserted the CDS3.Controls project reference.
>Reset the toolbox
>
>Any Ideas????
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform