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????