Hi,
I have an existing VS2005 project which I didn't work on for quite a while and just started looking at it again. I used to build a couple custom ToolStrip elements like:
[
ToolStripItemDesignerAvailability(ToolStripItemDesignerAvailability.ToolStrip | ToolStripItemDesignerAvailability.StatusStrip)]
public class ToolStripCheckEdit : ToolStripControlHost
{
public ToolStripCheckEdit() : base(CreateControlInstance())
{
}
public CheckEdit CheckEditControl
{
get { return Control as CheckEdit; }
}
private static Control CreateControlInstance()
{
CheckEdit c = new CheckEdit();
c.Properties.Appearance.Font =
Fonts.DefaultFont;
c.Properties.Appearance.ForeColor =
Colors.FontDefault;
return c;
}
}
Those used to show up in the Forms designer just fine but now they're not anymore although they should have the proper attributes. If I make a new project and make a custom ToolStripItem they show up just fine.
Any idea why they might not show up in the designer in my existing project?
Thanks,
Tom