Link to home
Start Free TrialLog in
Avatar of melegant99
melegant99

asked on

ToolStrip Items Missing after removing Resource

Hello,
I have a form where ALL of the TOOLSTRIP items only have gone missing. They are there in my properties drop down, in the designer code, in the form code. There are no errors or warnings.

The last thing I did was set the button image  (.PNG) for a Context Menu Item. I then decided to add that image to a local resource I created, then removed the PNG from the global project resource. Then, bang, no button on the TOOLSTRIPS. All of the context menus are ok. And it is just for this form, no other form on the project has an issue.

This is crazy.
Avatar of melegant99
melegant99

ASKER

Grrr, it looks like ALL of the freaking ToolStrip.Items.AddRange are GONE from the designer code. Is there a way to get them back? Deleting a 2KB .png file from the resources folder in the solution explorer equals this kind of ridiculousness?
ASKER CERTIFIED SOLUTION
Avatar of Snarf0001
Snarf0001
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I ended up putting back the add ranges. I did remove the .png from the UI, but it left an entry in an .xml file that I had to manually remove so the designer would stop freaking out.
Thanks!